/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | PNaCl.h | 25 class LLVM_LIBRARY_VISIBILITY PNaClTargetInfo : public TargetInfo { 28 : TargetInfo(Triple) { in PNaClTargetInfo() 33 this->IntMaxType = TargetInfo::SignedLongLong; in PNaClTargetInfo() 34 this->Int64Type = TargetInfo::SignedLongLong; in PNaClTargetInfo() 38 this->SizeType = TargetInfo::UnsignedInt; in PNaClTargetInfo() 39 this->PtrDiffType = TargetInfo::SignedInt; in PNaClTargetInfo() 40 this->IntPtrType = TargetInfo::SignedInt; in PNaClTargetInfo() 60 return TargetInfo::PNaClABIBuiltinVaList; in getBuiltinVaListKind() 65 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override; 68 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint() [all …]
|
H A D | SPIR.h | 89 class LLVM_LIBRARY_VISIBILITY BaseSPIRTargetInfo : public TargetInfo { 90 std::unique_ptr<TargetInfo> HostTarget; 94 : TargetInfo(Triple) { in BaseSPIRTargetInfo() 173 TargetInfo::ConstraintInfo &info) const override { in validateAsmConstraint() 177 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 182 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 204 TargetInfo::adjust(Diags, Opts); in adjust() 259 SizeType = TargetInfo::UnsignedInt; in SPIR32TargetInfo() 260 PtrDiffType = IntPtrType = TargetInfo::SignedInt; in SPIR32TargetInfo() 276 SizeType = TargetInfo::UnsignedLong; in SPIR64TargetInfo() [all …]
|
H A D | AVR.h | 25 class LLVM_LIBRARY_VISIBILITY AVRTargetInfo : public TargetInfo { 28 : TargetInfo(Triple) { in AVRTargetInfo() 69 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 82 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 86 ArrayRef<TargetInfo::AddlRegName> getGCCAddlRegNames() const override { in getGCCAddlRegNames() 87 static const TargetInfo::AddlRegName AddlRegNames[] = { in getGCCAddlRegNames() 97 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint() 162 : TargetInfo::getIntTypeByWidth(BitWidth, IsSigned); in getIntTypeByWidth() 169 : TargetInfo::getLeastIntTypeByWidth(BitWidth, IsSigned); in getLeastIntTypeByWidth()
|
H A D | Lanai.h | 24 class LLVM_LIBRARY_VISIBILITY LanaiTargetInfo : public TargetInfo { 32 static const TargetInfo::GCCRegAlias GCCRegAliases[]; 37 : TargetInfo(Triple) { in LanaiTargetInfo() 75 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override; 78 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 86 TargetInfo::ConstraintInfo &info) const override { in validateAsmConstraint()
|
H A D | MSP430.h | 24 class LLVM_LIBRARY_VISIBILITY MSP430TargetInfo : public TargetInfo { 29 : TargetInfo(Triple) { in MSP430TargetInfo() 66 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 68 static const TargetInfo::GCCRegAlias GCCRegAliases[] = { in getGCCRegAliases() 78 TargetInfo::ConstraintInfo &info) const override { in validateAsmConstraint() 97 return TargetInfo::CharPtrBuiltinVaList; in getBuiltinVaListKind()
|
H A D | Hexagon.h | 26 class LLVM_LIBRARY_VISIBILITY HexagonTargetInfo : public TargetInfo { 29 static const TargetInfo::GCCRegAlias GCCRegAliases[]; 40 : TargetInfo(Triple) { in HexagonTargetInfo() 72 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint() 108 return TargetInfo::HexagonBuiltinVaList; in getBuiltinVaListKind() 109 return TargetInfo::CharPtrBuiltinVaList; in getBuiltinVaListKind() 114 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override;
|
H A D | M68k.cpp | 31 : TargetInfo(Triple), TargetOpts(Opts) { in M68kTargetInfo() 137 const TargetInfo::GCCRegAlias M68kTargetInfo::GCCRegAliases[] = { 143 ArrayRef<TargetInfo::GCCRegAlias> M68kTargetInfo::getGCCRegAliases() const { in getGCCRegAliases() 148 const char *&Name, TargetInfo::ConstraintInfo &info) const { in validateAsmConstraint() 242 TargetInfo::BuiltinVaListKind M68kTargetInfo::getBuiltinVaListKind() const { in getBuiltinVaListKind() 243 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 246 TargetInfo::CallingConvCheckResult 253 return TargetInfo::checkCallingConvention(CC); in checkCallingConvention()
|
H A D | VE.h | 24 class LLVM_LIBRARY_VISIBILITY VETargetInfo : public TargetInfo { 28 : TargetInfo(Triple) { in VETargetInfo() 61 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 90 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 91 static const TargetInfo::GCCRegAlias GCCRegAliases[] = { in getGCCRegAliases() 161 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint()
|
H A D | Le64.h | 24 class LLVM_LIBRARY_VISIBILITY Le64TargetInfo : public TargetInfo { 28 : TargetInfo(Triple) { in Le64TargetInfo() 41 return TargetInfo::PNaClABIBuiltinVaList; in getBuiltinVaListKind() 50 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 55 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint()
|
H A D | SystemZ.h | 24 class LLVM_LIBRARY_VISIBILITY SystemZTargetInfo : public TargetInfo { 36 : TargetInfo(Triple), CPU("z10"), ISARevision(8), in SystemZTargetInfo() 79 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 84 ArrayRef<TargetInfo::AddlRegName> getGCCAddlRegNames() const override; 91 TargetInfo::ConstraintInfo &info) const override; 114 return TargetInfo::convertConstraint(Constraint); in convertConstraint() 123 return TargetInfo::SystemZBuiltinVaList; in getBuiltinVaListKind() 163 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); in initFeatureMap()
|
H A D | ARC.h | 24 class LLVM_LIBRARY_VISIBILITY ARCTargetInfo : public TargetInfo { 27 : TargetInfo(Triple) { in ARCTargetInfo() 48 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 62 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 67 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint()
|
H A D | XCore.h | 24 class LLVM_LIBRARY_VISIBILITY XCoreTargetInfo : public TargetInfo { 28 : TargetInfo(Triple) { in XCoreTargetInfo() 49 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 62 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 67 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint()
|
H A D | DirectX.h | 50 class LLVM_LIBRARY_VISIBILITY DirectXTargetInfo : public TargetInfo { 53 : TargetInfo(Triple) { in DirectXTargetInfo() 86 TargetInfo::ConstraintInfo &info) const override { in validateAsmConstraint() 90 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 95 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind()
|
H A D | OSTargets.h | 126 TargetInfo::IntType getLeastIntTypeByWidth(unsigned BitWidth, in getLeastIntTypeByWidth() 130 ? (IsSigned ? TargetInfo::SignedLongLong in getLeastIntTypeByWidth() 131 : TargetInfo::UnsignedLongLong) in getLeastIntTypeByWidth() 132 : TargetInfo::getLeastIntTypeByWidth(BitWidth, IsSigned); in getLeastIntTypeByWidth() 275 this->SizeType = TargetInfo::UnsignedLong; in HaikuTargetInfo() 276 this->IntPtrType = TargetInfo::SignedLong; in HaikuTargetInfo() 277 this->PtrDiffType = TargetInfo::SignedLong; in HaikuTargetInfo() 278 this->ProcessIDType = TargetInfo::SignedLong; in HaikuTargetInfo() 349 this->WIntType = TargetInfo::UnsignedInt; in LinuxTargetInfo() 429 this->IntMaxType = TargetInfo::SignedLongLong; in OpenBSDTargetInfo() [all …]
|
H A D | NVPTX.h | 63 class LLVM_LIBRARY_VISIBILITY NVPTXTargetInfo : public TargetInfo { 67 std::unique_ptr<TargetInfo> HostTarget; 87 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); in initFeatureMap() 94 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 100 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint() 122 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind()
|
H A D | TCE.h | 59 class LLVM_LIBRARY_VISIBILITY TCETargetInfo : public TargetInfo { 62 : TargetInfo(Triple) { in TCETargetInfo() 105 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 113 TargetInfo::ConstraintInfo &info) const override { in validateAsmConstraint() 117 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases()
|
H A D | Mips.h | 24 class LLVM_LIBRARY_VISIBILITY MipsTargetInfo : public TargetInfo { 64 : TargetInfo(Triple), IsMips16(false), IsMicromips(false), in MipsTargetInfo() 192 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); in initFeatureMap() 205 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 238 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint() 286 return TargetInfo::convertConstraint(Constraint); in convertConstraint() 408 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 409 static const TargetInfo::GCCRegAlias O32RegAliases[] = { in getGCCRegAliases() 422 static const TargetInfo::GCCRegAlias NewABIRegAliases[] = { in getGCCRegAliases()
|
H A D | BPF.h | 24 class LLVM_LIBRARY_VISIBILITY BPFTargetInfo : public TargetInfo { 29 : TargetInfo(Triple) { in BPFTargetInfo() 66 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 75 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint() 88 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases()
|
H A D | M68k.h | 26 class LLVM_LIBRARY_VISIBILITY M68kTargetInfo : public TargetInfo { 28 static const TargetInfo::GCCRegAlias GCCRegAliases[]; 50 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override; 53 TargetInfo::ConstraintInfo &info) const override;
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | TargetInfo.cpp | 54 TargetInfo::TargetInfo(const llvm::Triple &T) : Triple(T) { in TargetInfo() function in TargetInfo 188 TargetInfo::~TargetInfo() {} in ~TargetInfo() 190 void TargetInfo::resetDataLayout(StringRef DL, const char *ULP) { in resetDataLayout() 196 TargetInfo::checkCFProtectionBranchSupported(DiagnosticsEngine &Diags) const { in checkCFProtectionBranchSupported() 202 TargetInfo::checkCFProtectionReturnSupported(DiagnosticsEngine &Diags) const { in checkCFProtectionReturnSupported() 209 const char *TargetInfo::getTypeName(IntType T) { in getTypeName() 227 const char *TargetInfo::getTypeConstantSuffix(IntType T) const { in getTypeConstantSuffix() 252 const char *TargetInfo::getTypeFormatModifier(IntType T) { in getTypeFormatModifier() 270 unsigned TargetInfo::getTypeWidth(IntType T) const { in getTypeWidth() 286 TargetInfo::IntType TargetInfo::getIntTypeByWidth( in getIntTypeByWidth() [all …]
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Target.cpp | 41 const TargetInfo *elf::target; 50 TargetInfo *elf::getTarget() { in getTarget() 126 TargetInfo::~TargetInfo() {} in ~TargetInfo() 128 int64_t TargetInfo::getImplicitAddend(const uint8_t *buf, RelType type) const { in getImplicitAddend() 134 bool TargetInfo::usesOnlyLowPageBits(RelType type) const { return false; } in usesOnlyLowPageBits() 136 bool TargetInfo::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk() 142 bool TargetInfo::adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end, in adjustPrologueForCrossSplitStack() 147 bool TargetInfo::inBranchRange(RelType type, uint64_t src, uint64_t dst) const { in inBranchRange() 151 RelExpr TargetInfo::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr() 155 RelExpr TargetInfo::adjustGotPcExpr(RelType type, int64_t addend, in adjustGotPcExpr() [all …]
|
H A D | Target.h | 30 class TargetInfo { 104 virtual ~TargetInfo(); 180 TargetInfo *getAArch64TargetInfo(); 181 TargetInfo *getAMDGPUTargetInfo(); 182 TargetInfo *getARMTargetInfo(); 183 TargetInfo *getAVRTargetInfo(); 184 TargetInfo *getHexagonTargetInfo(); 185 TargetInfo *getLoongArchTargetInfo(); 186 TargetInfo *getMSP430TargetInfo(); 187 TargetInfo *getPPC64TargetInf [all...] |
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 183 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeSize() 184 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeSize() 190 TargetInfo::IntType Ty, const TargetInfo &TI, in DefineFmt() 206 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType() 208 Builder.defineMacro(MacroName, TargetInfo::getTypeName(Ty)); in DefineType() 211 static void DefineTypeWidth(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeWidth() 212 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeWidth() 217 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeSizeof() 225 static void DefineTypeSizeAndWidth(const Twine &Prefix, TargetInfo::IntType Ty, in DefineTypeSizeAndWidth() 226 const TargetInfo &TI, in DefineTypeSizeAndWidth() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaARM.h | 42 bool CheckNeonBuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID, 50 bool CheckCDEBuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID, 52 bool CheckARMCoprocessorImmediate(const TargetInfo &TI, const Expr *CoprocArg, 54 bool CheckARMBuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID, 57 bool CheckAArch64BuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID,
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | Target.h | 43 class TargetInfo { 45 template <class LP> TargetInfo(LP) { in TargetInfo() function 55 virtual ~TargetInfo() = default; 146 TargetInfo *createX86_64TargetInfo(); 147 TargetInfo *createARM64TargetInfo(); 148 TargetInfo *createARM64_32TargetInfo(); 182 extern TargetInfo *target;
|