Lines Matching defs:const
26 static const LangASMap DefaultAddrSpaceMap = {0};
29 static const LangASMap FakeAddrSpaceMap = {
54 TargetInfo::TargetInfo(const llvm::Triple &T) : Triple(T) {
190 void TargetInfo::resetDataLayout(StringRef DL, const char *ULP) {
196 TargetInfo::checkCFProtectionBranchSupported(DiagnosticsEngine &Diags) const {
201 CFBranchLabelSchemeKind TargetInfo::getDefaultCFBranchLabelScheme() const {
208 const CFBranchLabelSchemeKind Scheme, DiagnosticsEngine &Diags) const {
218 TargetInfo::checkCFProtectionReturnSupported(DiagnosticsEngine &Diags) const {
225 const char *TargetInfo::getTypeName(IntType T) {
243 const char *TargetInfo::getTypeConstantSuffix(IntType T) const {
268 const char *TargetInfo::getTypeFormatModifier(IntType T) {
286 unsigned TargetInfo::getTypeWidth(IntType T) const {
303 unsigned BitWidth, bool IsSigned) const {
318 bool IsSigned) const {
333 FloatModeKind ExplicitType) const {
368 unsigned TargetInfo::getTypeAlign(IntType T) const {
481 const auto &OpenCLFeaturesMap = getSupportedOpenCLOpts();
552 const std::vector<std::string> &FeatureVec) const {
553 for (const auto &F : FeatureVec) {
566 ParsedTargetAttr TargetInfo::parseTargetAttr(StringRef Features) const {
611 TargetInfo::getCallingConvKind(bool ClangABICompat4) const {
618 bool TargetInfo::areDefaultedSMFStillPOD(const LangOptions &LangOpts) const {
622 LangAS TargetInfo::getOpenCLTypeAddrSpace(OpenCLTypeKind TK) const {
649 bool TargetInfo::isValidClobber(StringRef Name) const {
657 bool TargetInfo::isValidGCCRegisterName(StringRef Name) const {
666 ArrayRef<const char *> Names = getGCCRegNames();
680 for (const AddlRegName &ARN : getGCCAddlRegNames())
681 for (const char *AN : ARN.Names) {
691 for (const GCCRegAlias &GRA : getGCCRegAliases())
692 for (const char *A : GRA.Aliases) {
703 bool ReturnCanonical) const {
709 ArrayRef<const char *> Names = getGCCRegNames();
721 for (const AddlRegName &ARN : getGCCAddlRegNames())
722 for (const char *AN : ARN.Names) {
732 for (const GCCRegAlias &RA : getGCCRegAliases())
733 for (const char *A : RA.Aliases) {
743 bool TargetInfo::validateOutputConstraint(ConstraintInfo &Info) const {
744 const char *Name = Info.getConstraintStr().c_str();
817 bool TargetInfo::resolveSymbolicName(const char *&Name,
819 unsigned &Index) const {
822 const char *Start = Name;
842 ConstraintInfo &Info) const {
843 const char *Name = Info.ConstraintStr.c_str();
853 const char *DigitStart = Name;
856 const char *DigitEnd = Name;
957 bool TargetInfo::validatePointerAuthKey(const llvm::APSInt &value) const {
961 void TargetInfo::CheckFixedPointBits() const {
1021 void TargetInfo::copyAuxTarget(const TargetInfo *Aux) {
1023 auto *Src = static_cast<const TransferrableTargetInfo*>(Aux);