/Users/buildslave/jenkins/workspace/coverage/llvm-project/clang/lib/Basic/Targets/Le64.h
Line | Count | Source (jump to first uncovered line) |
1 | | //===--- Le64.h - Declare Le64 target feature support -----------*- C++ -*-===// |
2 | | // |
3 | | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | | // See https://llvm.org/LICENSE.txt for license information. |
5 | | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | | // |
7 | | //===----------------------------------------------------------------------===// |
8 | | // |
9 | | // This file declares Le64 TargetInfo objects. |
10 | | // |
11 | | //===----------------------------------------------------------------------===// |
12 | | |
13 | | #ifndef LLVM_CLANG_LIB_BASIC_TARGETS_LE64_H |
14 | | #define LLVM_CLANG_LIB_BASIC_TARGETS_LE64_H |
15 | | |
16 | | #include "clang/Basic/TargetInfo.h" |
17 | | #include "clang/Basic/TargetOptions.h" |
18 | | #include "llvm/ADT/Triple.h" |
19 | | #include "llvm/Support/Compiler.h" |
20 | | |
21 | | namespace clang { |
22 | | namespace targets { |
23 | | |
24 | | class LLVM_LIBRARY_VISIBILITY Le64TargetInfo : public TargetInfo { |
25 | | |
26 | | public: |
27 | | Le64TargetInfo(const llvm::Triple &Triple, const TargetOptions &) |
28 | 0 | : TargetInfo(Triple) { |
29 | 0 | NoAsmVariants = true; |
30 | 0 | LongWidth = LongAlign = PointerWidth = PointerAlign = 64; |
31 | 0 | MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 64; |
32 | 0 | resetDataLayout("e-m:e-v128:32-v16:16-v32:32-v96:32-n8:16:32:64-S128"); |
33 | 0 | } Unexecuted instantiation: clang::targets::Le64TargetInfo::Le64TargetInfo(llvm::Triple const&, clang::TargetOptions const&) Unexecuted instantiation: clang::targets::Le64TargetInfo::Le64TargetInfo(llvm::Triple const&, clang::TargetOptions const&) |
34 | | |
35 | | void getTargetDefines(const LangOptions &Opts, |
36 | | MacroBuilder &Builder) const override; |
37 | | |
38 | | ArrayRef<Builtin::Info> getTargetBuiltins() const override; |
39 | | |
40 | 0 | BuiltinVaListKind getBuiltinVaListKind() const override { |
41 | 0 | return TargetInfo::PNaClABIBuiltinVaList; |
42 | 0 | } |
43 | | |
44 | 0 | const char *getClobbers() const override { return ""; } |
45 | | |
46 | 0 | ArrayRef<const char *> getGCCRegNames() const override { return None; } |
47 | | |
48 | 0 | ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { |
49 | 0 | return None; |
50 | 0 | } |
51 | | |
52 | | bool validateAsmConstraint(const char *&Name, |
53 | 0 | TargetInfo::ConstraintInfo &Info) const override { |
54 | 0 | return false; |
55 | 0 | } |
56 | | |
57 | 0 | bool hasProtectedVisibility() const override { return false; } |
58 | | }; |
59 | | |
60 | | } // namespace targets |
61 | | } // namespace clang |
62 | | #endif // LLVM_CLANG_LIB_BASIC_TARGETS_LE64_H |