/external/llvm-project/lld/ELF/ |
D | Target.cpp | 41 const TargetInfo *elf::target; 50 TargetInfo *elf::getTarget() { in getTarget() 130 TargetInfo::~TargetInfo() {} in ~TargetInfo() 132 int64_t TargetInfo::getImplicitAddend(const uint8_t *buf, RelType type) const { in getImplicitAddend() 136 bool TargetInfo::usesOnlyLowPageBits(RelType type) const { return false; } in usesOnlyLowPageBits() 138 bool TargetInfo::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk() 144 bool TargetInfo::adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end, in adjustPrologueForCrossSplitStack() 149 bool TargetInfo::inBranchRange(RelType type, uint64_t src, uint64_t dst) const { in inBranchRange() 153 RelExpr TargetInfo::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr() 157 RelExpr TargetInfo::adjustGotPcExpr(RelType type, int64_t addend, in adjustGotPcExpr() [all …]
|
D | Target.h | 26 class TargetInfo { 94 virtual ~TargetInfo(); 173 TargetInfo *getAArch64TargetInfo(); 174 TargetInfo *getAMDGPUTargetInfo(); 175 TargetInfo *getARMTargetInfo(); 176 TargetInfo *getAVRTargetInfo(); 177 TargetInfo *getHexagonTargetInfo(); 178 TargetInfo *getMSP430TargetInfo(); 179 TargetInfo *getPPC64TargetInfo(); 180 TargetInfo *getPPCTargetInfo(); [all …]
|
/external/llvm-project/clang/lib/Basic/Targets/ |
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() 58 return TargetInfo::PNaClABIBuiltinVaList; in getBuiltinVaListKind() 63 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override; 66 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint() [all …]
|
D | SPIR.h | 41 class LLVM_LIBRARY_VISIBILITY SPIRTargetInfo : public TargetInfo { 44 : TargetInfo(Triple) { in SPIRTargetInfo() 79 TargetInfo::ConstraintInfo &info) const override { in validateAsmConstraint() 83 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 88 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 115 SizeType = TargetInfo::UnsignedInt; in SPIR32TargetInfo() 116 PtrDiffType = IntPtrType = TargetInfo::SignedInt; in SPIR32TargetInfo() 130 SizeType = TargetInfo::UnsignedLong; in SPIR64TargetInfo() 131 PtrDiffType = IntPtrType = TargetInfo::SignedLong; in SPIR64TargetInfo()
|
D | AVR.h | 25 class LLVM_LIBRARY_VISIBILITY AVRTargetInfo : public TargetInfo { 28 : TargetInfo(Triple) { in AVRTargetInfo() 66 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 80 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 84 ArrayRef<TargetInfo::AddlRegName> getGCCAddlRegNames() const override { in getGCCAddlRegNames() 85 static const TargetInfo::AddlRegName AddlRegNames[] = { in getGCCAddlRegNames() 95 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint() 158 : TargetInfo::getIntTypeByWidth(BitWidth, IsSigned); in getIntTypeByWidth() 165 : TargetInfo::getLeastIntTypeByWidth(BitWidth, IsSigned); in getLeastIntTypeByWidth()
|
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() 84 TargetInfo::ConstraintInfo &info) const override { in validateAsmConstraint()
|
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()
|
D | Hexagon.h | 25 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;
|
D | VE.h | 24 class LLVM_LIBRARY_VISIBILITY VETargetInfo : public TargetInfo { 29 : TargetInfo(Triple) { in VETargetInfo() 64 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 93 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 94 static const TargetInfo::GCCRegAlias GCCRegAliases[] = { in getGCCRegAliases() 164 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint()
|
D | Le64.h | 24 class LLVM_LIBRARY_VISIBILITY Le64TargetInfo : public TargetInfo { 29 : TargetInfo(Triple) { in Le64TargetInfo() 42 return TargetInfo::PNaClABIBuiltinVaList; in getBuiltinVaListKind() 49 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 54 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint()
|
D | ARC.h | 24 class LLVM_LIBRARY_VISIBILITY ARCTargetInfo : public TargetInfo { 27 : TargetInfo(Triple) { in ARCTargetInfo() 46 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 60 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 65 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint()
|
D | SystemZ.h | 24 class LLVM_LIBRARY_VISIBILITY SystemZTargetInfo : public TargetInfo { 36 : TargetInfo(Triple), CPU("z10"), ISARevision(8), in SystemZTargetInfo() 61 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 66 ArrayRef<TargetInfo::AddlRegName> getGCCAddlRegNames() const override; 73 TargetInfo::ConstraintInfo &info) const override; 81 return TargetInfo::SystemZBuiltinVaList; in getBuiltinVaListKind() 111 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); in initFeatureMap()
|
D | XCore.h | 24 class LLVM_LIBRARY_VISIBILITY XCoreTargetInfo : public TargetInfo { 29 : TargetInfo(Triple) { in XCoreTargetInfo() 50 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 63 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 68 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint()
|
D | NVPTX.h | 53 class LLVM_LIBRARY_VISIBILITY NVPTXTargetInfo : public TargetInfo { 58 std::unique_ptr<TargetInfo> HostTarget; 75 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); in initFeatureMap() 82 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 88 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint() 110 return TargetInfo::CharPtrBuiltinVaList; in getBuiltinVaListKind()
|
D | TCE.h | 50 class LLVM_LIBRARY_VISIBILITY TCETargetInfo : public TargetInfo { 53 : TargetInfo(Triple) { in TCETargetInfo() 94 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 100 TargetInfo::ConstraintInfo &info) const override { in validateAsmConstraint() 104 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases()
|
D | BPF.h | 24 class LLVM_LIBRARY_VISIBILITY BPFTargetInfo : public TargetInfo { 29 : TargetInfo(Triple) { in BPFTargetInfo() 64 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 71 TargetInfo::ConstraintInfo &info) const override { in validateAsmConstraint() 75 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases()
|
D | Mips.h | 24 class LLVM_LIBRARY_VISIBILITY MipsTargetInfo : public TargetInfo { 64 : TargetInfo(Triple), IsMips16(false), IsMicromips(false), in MipsTargetInfo() 187 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); in initFeatureMap() 200 return TargetInfo::VoidPtrBuiltinVaList; in getBuiltinVaListKind() 233 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint() 279 return TargetInfo::convertConstraint(Constraint); in convertConstraint() 370 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override { in getGCCRegAliases() 371 static const TargetInfo::GCCRegAlias O32RegAliases[] = { in getGCCRegAliases() 384 static const TargetInfo::GCCRegAlias NewABIRegAliases[] = { in getGCCRegAliases()
|
D | PPC.h | 27 class LLVM_LIBRARY_VISIBILITY PPCTargetInfo : public TargetInfo { 55 static const TargetInfo::GCCRegAlias GCCRegAliases[]; 80 : TargetInfo(Triple) { in PPCTargetInfo() 194 ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override; 196 ArrayRef<TargetInfo::AddlRegName> getGCCAddlRegNames() const override; 199 TargetInfo::ConstraintInfo &Info) const override { in validateAsmConstraint() 320 return TargetInfo::convertConstraint(Constraint); in convertConstraint() 393 return TargetInfo::PowerABIBuiltinVaList; in getBuiltinVaListKind() 436 return TargetInfo::CharPtrBuiltinVaList; in getBuiltinVaListKind() 471 return TargetInfo::CharPtrBuiltinVaList; in getBuiltinVaListKind() [all …]
|
/external/llvm-project/clang/lib/Basic/ |
D | TargetInfo.cpp | 29 TargetInfo::TargetInfo(const llvm::Triple &T) : TargetOpts(), Triple(T) { in TargetInfo() function in TargetInfo 144 TargetInfo::~TargetInfo() {} in ~TargetInfo() 146 void TargetInfo::resetDataLayout(StringRef DL) { in resetDataLayout() 151 TargetInfo::checkCFProtectionBranchSupported(DiagnosticsEngine &Diags) const { in checkCFProtectionBranchSupported() 157 TargetInfo::checkCFProtectionReturnSupported(DiagnosticsEngine &Diags) const { in checkCFProtectionReturnSupported() 164 const char *TargetInfo::getTypeName(IntType T) { in getTypeName() 182 const char *TargetInfo::getTypeConstantSuffix(IntType T) const { in getTypeConstantSuffix() 207 const char *TargetInfo::getTypeFormatModifier(IntType T) { in getTypeFormatModifier() 225 unsigned TargetInfo::getTypeWidth(IntType T) const { in getTypeWidth() 241 TargetInfo::IntType TargetInfo::getIntTypeByWidth( in getIntTypeByWidth() [all …]
|
/external/clang/lib/Basic/ |
D | TargetInfo.cpp | 27 TargetInfo::TargetInfo(const llvm::Triple &T) : TargetOpts(), Triple(T) { in TargetInfo() function in TargetInfo 106 TargetInfo::~TargetInfo() {} in ~TargetInfo() 110 const char *TargetInfo::getTypeName(IntType T) { in getTypeName() 128 const char *TargetInfo::getTypeConstantSuffix(IntType T) const { in getTypeConstantSuffix() 151 const char *TargetInfo::getTypeFormatModifier(IntType T) { in getTypeFormatModifier() 169 unsigned TargetInfo::getTypeWidth(IntType T) const { in getTypeWidth() 185 TargetInfo::IntType TargetInfo::getIntTypeByWidth( in getIntTypeByWidth() 200 TargetInfo::IntType TargetInfo::getLeastIntTypeByWidth(unsigned BitWidth, in getLeastIntTypeByWidth() 215 TargetInfo::RealType TargetInfo::getRealTypeByWidth(unsigned BitWidth) const { in getRealTypeByWidth() 240 unsigned TargetInfo::getTypeAlign(IntType T) const { in getTypeAlign() [all …]
|
D | Targets.cpp | 69 static TargetInfo *AllocateTarget(const llvm::Triple &Triple, 407 this->SizeType = TargetInfo::UnsignedLong; in HaikuTargetInfo() 408 this->IntPtrType = TargetInfo::SignedLong; in HaikuTargetInfo() 409 this->PtrDiffType = TargetInfo::SignedLong; in HaikuTargetInfo() 410 this->ProcessIDType = TargetInfo::SignedLong; in HaikuTargetInfo() 467 this->WIntType = TargetInfo::UnsignedInt; in LinuxTargetInfo() 626 this->IntMaxType = TargetInfo::SignedLongLong; in PS3PPUTargetInfo() 627 this->Int64Type = TargetInfo::SignedLongLong; in PS3PPUTargetInfo() 628 this->SizeType = TargetInfo::UnsignedInt; in PS3PPUTargetInfo() 787 this->IntMaxType = TargetInfo::SignedLongLong; in NaClTargetInfo() [all …]
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 194 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeSize() 195 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeSize() 200 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, in DefineFmt() 201 const TargetInfo &TI, MacroBuilder &Builder) { in DefineFmt() 210 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType() 212 Builder.defineMacro(MacroName, TargetInfo::getTypeName(Ty)); in DefineType() 215 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, in DefineTypeWidth() 216 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeWidth() 221 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeSizeof() 226 static void DefineExactWidthIntType(TargetInfo::IntType Ty, in DefineExactWidthIntType() [all …]
|
/external/llvm-project/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 176 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeSize() 177 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeSize() 182 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, in DefineFmt() 183 const TargetInfo &TI, MacroBuilder &Builder) { in DefineFmt() 192 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType() 194 Builder.defineMacro(MacroName, TargetInfo::getTypeName(Ty)); in DefineType() 197 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, in DefineTypeWidth() 198 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeWidth() 203 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeSizeof() 208 static void DefineExactWidthIntType(TargetInfo::IntType Ty, in DefineExactWidthIntType() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | IntegerTypesCheck.cpp | 95 const TargetInfo &TargetInfo = Result.Context->getTargetInfo(); in check() local 100 Width = TargetInfo.getShortWidth(); in check() 104 Width = TargetInfo.getLongWidth(); in check() 108 Width = TargetInfo.getLongLongWidth(); in check() 112 Width = TargetInfo.getShortWidth(); in check() 116 Width = TargetInfo.getLongWidth(); in check() 120 Width = TargetInfo.getLongLongWidth(); in check()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceAssemblerARM32.h | 84 class TargetInfo { 85 TargetInfo(const TargetInfo &) = delete; 86 TargetInfo &operator=(const TargetInfo &) = delete; 89 TargetInfo(bool HasFramePointer, RegNumT FrameOrStackReg) in TargetInfo() function 91 explicit TargetInfo(const TargetLowering *Target) in TargetInfo() function 217 const TargetInfo &TInfo); 221 const TargetInfo TInfo(Lowering); in ldr() 226 CondARM32::Cond Cond, const TargetInfo &TInfo); 230 const TargetInfo TInfo(Lowering); in ldrex() 289 const TargetInfo &TInfo); [all …]
|