HasAtomics =
false;
58 boolHasBulkMemory =
false;
59 boolHasBulkMemoryOpt =
false;
60 boolHasCallIndirectOverlong =
false;
61 boolHasExceptionHandling =
false;
62 boolHasExtendedConst =
false;
63 boolHasFP16 =
false;
64 boolHasMultiMemory =
false;
65 boolHasMultivalue =
false;
66 boolHasMutableGlobals =
false;
67 boolHasNontrappingFPToInt =
false;
68 boolHasReferenceTypes =
false;
69 boolHasSignExt =
false;
70 boolHasTailCall =
false;
71 boolHasWideArithmetic =
false;
79NoAsmVariants =
true;
81LargeArrayMinWidth = 128;
82LargeArrayAlign = 128;
83SigAtomicType = SignedLong;
84LongDoubleWidth = LongDoubleAlign = 128;
85LongDoubleFormat = &llvm::APFloat::IEEEquad();
86MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 64;
89SizeType = UnsignedLong;
90PtrDiffType = SignedLong;
91IntPtrType = SignedLong;
92HasUnalignedAccess =
true;
95StringRef getABI()
const override;
96 boolsetABI(
conststd::string &Name)
override;
104 static voidsetSIMDLevel(llvm::StringMap<bool> &Features, SIMDEnum Level,
110 conststd::vector<std::string> &FeaturesVec)
const override;
111 bool hasFeature(StringRef Feature)
const final;
113 voidsetFeatureEnabled(llvm::StringMap<bool> &Features, StringRef Name,
114 boolEnabled)
const final;
116 boolhandleTargetFeatures(std::vector<std::string> &Features,
119 boolisValidCPUName(StringRef Name)
const final;
122 boolsetCPU(
conststd::string &Name)
final{
returnisValidCPUName(Name); }
126BuiltinVaListKind getBuiltinVaListKind() const final {
127 returnVoidPtrBuiltinVaList;
130ArrayRef<const char *> getGCCRegNames() const final {
return{}; }
132ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const final {
136 boolvalidateAsmConstraint(
const char*&Name,
137TargetInfo::ConstraintInfo &Info)
const final{
141std::string_view getClobbers() const final {
return ""; }
143 boolisCLZForZeroUndef() const final {
return false; }
145 boolhasInt128Type() const final {
return true; }
147IntType getIntTypeByWidth(
unsignedBitWidth,
boolIsSigned)
const final{
149 returnBitWidth == 64 ? (IsSigned ? SignedLongLong : UnsignedLongLong)
150: TargetInfo::getIntTypeByWidth(BitWidth, IsSigned);
153IntType getLeastIntTypeByWidth(
unsignedBitWidth,
boolIsSigned)
const final{
155 returnBitWidth == 64
156? (IsSigned ? SignedLongLong : UnsignedLongLong)
157: TargetInfo::getLeastIntTypeByWidth(BitWidth, IsSigned);
160CallingConvCheckResult checkCallingConvention(CallingConv CC)
const override{
172 boolhasBitIntType()
const override{
return true; }
174 boolhasProtectedVisibility()
const override{
return false; }
176 voidadjust(DiagnosticsEngine &Diags, LangOptions &Opts)
override;
185 if(
T.isOSEmscripten())
187 "e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-i128:128-f128:64-n32:64-" 190resetDataLayout(
"e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-i128:128-n32:64-" 205LongAlign = LongWidth = 64;
206PointerAlign = PointerWidth = 64;
207SizeType = UnsignedLong;
208PtrDiffType = SignedLong;
209IntPtrType = SignedLong;
210 if(
T.isOSEmscripten())
212 "e-m:e-p:64:64-p10:8:8-p20:8:8-i64:64-i128:128-f128:64-n32:64-" 215resetDataLayout(
"e-m:e-p:64:64-p10:8:8-p20:8:8-i64:64-i128:128-n32:64-"static bool hasFeature(StringRef Feature, const LangOptions &LangOpts, const TargetInfo &Target)
Determine whether a translation unit built using the current language options has the given feature.
Defines the clang::TargetOptions class.
Concrete class used by the front-end to report problems and issues.
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
Exposes information about the current target.
Options for controlling the target.
WebAssembly32TargetInfo(const llvm::Triple &T, const TargetOptions &Opts)
WebAssembly64TargetInfo(const llvm::Triple &T, const TargetOptions &Opts)
WebAssemblyTargetInfo(const llvm::Triple &T, const TargetOptions &)
bool useFP16ConversionIntrinsics() const override
Check whether llvm intrinsics such as llvm.convert.to.fp16 should be used to convert to and from __fp...
Defines the clang::TargetInfo interface.
static const unsigned WebAssemblyAddrSpaceMap[]
The JSON file list parser is used to communicate input to InstallAPI.
const FunctionProtoType * T
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4