/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | ModuleBuilder.cpp | 154 M->setTargetTriple(Ctx->getTargetInfo().getTriple().getTriple()); in Initialize() 155 M->setDataLayout(Ctx->getTargetInfo().getDataLayoutString()); in Initialize() 156 const auto &SDKVersion = Ctx->getTargetInfo().getSDKVersion(); in Initialize() 159 if (const auto *TVT = Ctx->getTargetInfo().getDarwinTargetVariantTriple()) in Initialize() 162 Ctx->getTargetInfo().getDarwinTargetVariantSDKVersion()) in Initialize() 247 if (Ctx->getTargetInfo().getCXXABI().isMicrosoft()) { in HandleTagDeclDefinition()
|
H A D | ObjectFilePCHContainerOperations.cpp | 176 M->setDataLayout(Ctx->getTargetInfo().getDataLayoutString()); in Initialize() 254 M->setTargetTriple(Ctx.getTargetInfo().getTriple().getTriple()); in HandleTranslationUnit() 255 M->setDataLayout(Ctx.getTargetInfo().getDataLayoutString()); in HandleTranslationUnit() 272 auto Triple = Ctx.getTargetInfo().getTriple(); in HandleTranslationUnit() 322 Ctx.getTargetInfo().getDataLayoutString(), M.get(), in HandleTranslationUnit() 331 Ctx.getTargetInfo().getDataLayoutString(), M.get(), in HandleTranslationUnit()
|
H A D | CGRecordLayoutBuilder.cpp | 108 return Context.getTargetInfo().getCXXABI().isMicrosoft() || in isDiscreteBitFieldABI() 114 return Context.getTargetInfo().getABI().startswith("aapcs"); in isAAPCS() 118 bool isBE() const { return Context.getTargetInfo().isBigEndian(); } in isBE() 125 return !Context.getTargetInfo().getCXXABI().isMicrosoft(); in isOverlappingVBaseABI() 487 (!Context.getTargetInfo().useZeroLengthBitfieldAlignment() && in accumulateBitFields() 488 !Context.getTargetInfo().useBitFieldTypeAlignment())) && in accumulateBitFields()
|
H A D | PatternInit.cpp | 25 CGM.getContext().getTargetInfo().getMaxPointerWidth() < 64 in initializationPatternFor()
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | RecordLayoutBuilder.cpp | 721 return Context.getTargetInfo().getCXXABI(); in getCXXABI() 1240 Context.getTargetInfo().defaultsToAIXPowerAlignment(); in LayoutBase() 1265 if (!Context.getTargetInfo().getTriple().isPS()) in LayoutBase() 1864 Context.getTargetInfo().defaultsToAIXPowerAlignment(); in LayoutField() 1892 llvm::Triple Target = Context.getTargetInfo().getTriple(); in LayoutField() 2186 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in FinishLayout() 2383 !Context.getTargetInfo().hasPS4DLLImportExport()) in computeKeyFunction() 2441 return Context.getTargetInfo().getCXXABI().isMicrosoft(); in isMsLayout() 3371 if (!getTargetInfo().getCXXABI().hasKeyFunctions()) in getCurrentKeyFunction() 3677 if (C.getTargetInfo().defaultsToAIXPowerAlignment()) in DumpRecordLayout() [all …]
|
H A D | Mangle.cpp | 68 const TargetInfo &TI = Context.getTargetInfo(); in getCallingConvMangling() 161 getASTContext().getTargetInfo().getUserLabelPrefix(); in mangleName() 164 llvm::DataLayout(getASTContext().getTargetInfo().getDataLayoutString()) in mangleName() 187 const TargetInfo &TI = Context.getTargetInfo(); in mangleName() 399 DL(Ctx.getTargetInfo().getDataLayoutString()) {} in Implementation() 496 if (Ctx.getTargetInfo().getCXXABI().isItaniumFamily()) in getAllManglings() 500 if (Ctx.getTargetInfo().getCXXABI().isMicrosoft()) in getAllManglings() 506 if (Ctx.getTargetInfo().getCXXABI().isItaniumFamily()) { in getAllManglings()
|
H A D | ItaniumCXXABI.cpp | 227 const TargetInfo &Target = Context.getTargetInfo(); in getMemberPointerInfo() 239 const llvm::Triple &T = Context.getTargetInfo().getTriple(); in getDefaultMethodCallConv() 243 return Context.getTargetInfo().getDefaultCallingConv(); in getDefaultMethodCallConv() 256 Context.getTargetInfo().getPointerWidth(LangAS::Default)); in isNearlyEmpty()
|
H A D | MicrosoftCXXABI.cpp | 125 assert(Context.getTargetInfo().getCXXABI().isMicrosoft() && in MicrosoftCXXABI() 142 Context.getTargetInfo().getTriple().getArch() == llvm::Triple::x86) in getDefaultMethodCallConv() 144 return Context.getTargetInfo().getDefaultCallingConv(); in getDefaultMethodCallConv() 305 const TargetInfo &Target = Context.getTargetInfo(); in getMemberPointerInfo()
|
H A D | PrintfFormatString.cpp | 501 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getScalarArgType() 532 return Ctx.getTargetInfo().getTriple().isArch64Bit() in getScalarArgType() 567 return Ctx.getTargetInfo().getTriple().isArch64Bit() in getScalarArgType() 645 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() && in getScalarArgType() 652 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() && in getScalarArgType() 854 if (hasValidLengthModifier(Ctx.getTargetInfo(), LangOpt)) { in fixType()
|
H A D | ScanfFormatString.cpp | 346 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType() 363 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType() 509 if (hasValidLengthModifier(Ctx.getTargetInfo(), LangOpt)) { in fixType()
|
H A D | RecordLayout.cpp | 81 if (Ctx.getTargetInfo().getCXXABI().hasPrimaryVBases()) { in ASTRecordLayout()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaAvailability.cpp | 45 StringRef TargetPlatform = Context.getTargetInfo().getPlatformName(); in getAttrForPlatform() 182 const auto &Triple = Context.getTargetInfo().getTriple(); in shouldDiagnoseAvailabilityByDefault() 371 S.Context, S.Context.getTargetInfo().getPlatformMinVersion(), in DoEmitAvailabilityWarning() 377 S.getASTContext().getTargetInfo().getPlatformName())); in DoEmitAvailabilityWarning() 385 << S.Context.getTargetInfo().getPlatformMinVersion().getAsString(); in DoEmitAvailabilityWarning() 410 S.getASTContext().getTargetInfo().getPlatformName()) in DoEmitAvailabilityWarning() 669 SemaRef.Context.getTargetInfo().getPlatformMinVersion()); in DiagnoseUnguardedAvailability() 757 SemaRef.Context.getTargetInfo().getPlatformMinVersion(), Introduced) in DiagnoseDeclAvailability() 762 SemaRef.getASTContext().getTargetInfo().getPlatformName())); in DiagnoseDeclAvailability() 770 << SemaRef.Context.getTargetInfo() in DiagnoseDeclAvailability() [all …]
|
H A D | Sema.cpp | 284 if (Context.getTargetInfo().hasInt128Type() || in Initialize() 426 if (Context.getTargetInfo().hasAArch64SVETypes()) { in Initialize() 432 if (Context.getTargetInfo().getTriple().isPPC64()) { in Initialize() 441 if (Context.getTargetInfo().hasRISCVVTypes()) { in Initialize() 447 if (Context.getTargetInfo().hasBuiltinMSVaList()) { in Initialize() 1948 if (!Context.getTargetInfo().hasBitIntType()) { in checkTypeSupport() 1967 !Context.getTargetInfo().hasFloat128Type()) || in checkTypeSupport() 1969 !Context.getTargetInfo().hasIbm128Type())) in checkTypeSupport() 1977 !Context.getTargetInfo().hasInt128Type()) || in checkTypeSupport() 2003 const TargetInfo &TI = Context.getTargetInfo(); in checkTypeSupport() [all …]
|
H A D | SemaDeclAttr.cpp | 1989 if (S.Context.getTargetInfo().getTriple().isNVPTX()) { in handleAliasAttr() 2035 if (S.Context.getTargetInfo().getTriple().isOSAIX() && in handleTLSModelAttr() 2220 if (!AL.existsInTarget(Context.getTargetInfo())) { in CheckAttrTarget() 3412 Context.getTargetInfo().parseTargetAttr(AttrStr); in checkTargetAttr() 3519 getLangOpts(), Context.getTargetInfo()); in checkTargetClonesAttrString() 3574 if (!Context.getTargetInfo().isValidCPUName( in checkTargetClonesAttrString() 3599 !S.Context.getTargetInfo().hasFeature("fmv")) in handleTargetClonesAttr() 5301 const TargetInfo &TI = Context.getTargetInfo(); in CheckCallingConvAttr() 5476 if (Context.getTargetInfo().getRegParmMax() == 0) { in CheckRegparmAttr() 7190 if (!S.Context.getTargetInfo().isTLSSupported()) { in handleDeclspecThreadAttr() [all …]
|
H A D | SemaStmtAsm.cpp | 273 if (!Context.getTargetInfo().validateOutputConstraint(Info)) { in ActOnGCCAsmStmt() 342 if (!Context.getTargetInfo().validateOutputSize( in ActOnGCCAsmStmt() 364 if (!Context.getTargetInfo().validateInputConstraint(OutputConstraintInfos, in ActOnGCCAsmStmt() 456 if (!Context.getTargetInfo().validateInputSize(FeatureMap, in ActOnGCCAsmStmt() 472 if (!Context.getTargetInfo().isValidClobber(Clobber)) { in ActOnGCCAsmStmt() 544 if (!Context.getTargetInfo().validateConstraintModifier( in ActOnGCCAsmStmt() 713 Context.getTargetInfo(), Context); in ActOnGCCAsmStmt()
|
H A D | DeclSpec.cpp | 1168 !S.Context.getTargetInfo().hasFeature("vsx") && in Finish() 1174 !S.Context.getTargetInfo().hasFeature("power8-vector")) in Finish() 1195 (!S.Context.getTargetInfo().hasFeature("power10-vector"))) in Finish() 1217 else if (!S.Context.getTargetInfo().hasFeature("vsx") && in Finish() 1224 !S.Context.getTargetInfo().hasFeature("arch12")) in Finish() 1235 !S.Context.getTargetInfo().hasFeature("vsx") || in Finish() 1236 S.Context.getTargetInfo().getTriple().isOSAIX()) in Finish()
|
/openbsd/gnu/llvm/clang/tools/libclang/ |
H A D | CXExtractAPI.cpp | 85 APISet *API = new APISet(Ctx.getTargetInfo().getTriple(), Lang, in clang_createAPISet() 125 APISet API(Ctx.getTargetInfo().getTriple(), Lang, in clang_getSymbolGraphForCursor()
|
/openbsd/gnu/llvm/llvm/utils/TableGen/ |
H A D | DAGISelMatcherGen.cpp | 687 CGP.getTargetInfo().getRegBank().getReg(Def); in EmitResultLeafAsOperand() 719 CGP.getTargetInfo().getRegisterClass(Def); in EmitResultLeafAsOperand() 733 const CodeGenRegBank &RB = CGP.getTargetInfo().getRegBank(); in EmitResultLeafAsOperand() 760 const CodeGenTarget &CGT = CGP.getTargetInfo(); in mayInstNodeLoadOrStore() 789 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultInstructionAsOperand() 899 CGP.getTargetInfo().getRegBank().getReg(PhysRegInputs[i].first); in EmitResultInstructionAsOperand() 1064 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultCode()
|
H A D | DAGISelEmitter.cpp | 50 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost() 127 CGP.getTargetInfo().getName().str() + " target", OS); in run()
|
H A D | InstrInfoEmitter.cpp | 56 Records(R), CDP(R), SchedModels(CDP.getTargetInfo().getSchedModels()) {} in InstrInfoEmitter() 225 const CodeGenTarget &Target = CDP.getTargetInfo(); in EmitOperandInfo() 899 CodeGenTarget &Target = CDP.getTargetInfo(); in run() 1123 CodeGenTarget &Target = CDP.getTargetInfo(); in emitRecord() 1211 const CodeGenTarget &Target = CDP.getTargetInfo(); in emitEnums()
|
/openbsd/gnu/llvm/clang/include/clang/Basic/ |
H A D | Features.def | 103 PP.getTargetInfo().checkCallingConvention(CC_SwiftAsync) == 143 FEATURE(c_thread_local, LangOpts.C11 &&PP.getTargetInfo().isTLSSupported()) 178 LangOpts.CPlusPlus11 &&PP.getTargetInfo().isTLSSupported()) 236 FEATURE(tls, PP.getTargetInfo().isTLSSupported()) 246 EXTENSION(c_thread_local, PP.getTargetInfo().isTLSSupported())
|
/openbsd/gnu/llvm/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 1572 processPathForFileMacro(FN, getLangOpts(), getTargetInfo()); in ExpandBuiltinMacro() 1684 getTargetInfo().getTargetOpts().FeatureMap); in ExpandBuiltinMacro() 1747 II, getTargetInfo(), getLangOpts()) in ExpandBuiltinMacro() 1759 II, getTargetInfo(), LangOpts); in ExpandBuiltinMacro() 1791 return II ? hasAttribute(Syntax, ScopeII, II, getTargetInfo(), in ExpandBuiltinMacro() 1907 return II && isTargetArch(getTargetInfo(), II); in ExpandBuiltinMacro() 1915 return II && isTargetVendor(getTargetInfo(), II); in ExpandBuiltinMacro() 1923 return II && isTargetOS(getTargetInfo(), II); in ExpandBuiltinMacro() 1931 return II && isTargetEnvironment(getTargetInfo(), II); in ExpandBuiltinMacro() 1939 return II && isTargetVariantOS(getTargetInfo(), II); in ExpandBuiltinMacro() [all …]
|
H A D | LiteralSupport.cpp | 1640 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser() 1642 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser() 1643 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser() 1645 assert(PP.getTargetInfo().getWCharWidth() <= 64 && in CharLiteralParser() 1659 0xFFFFFFFFu >> (32-PP.getTargetInfo().getWCharWidth()); in CharLiteralParser() 1727 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser() 1751 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser() 1843 Target(PP.getTargetInfo()), Diags(&PP.getDiagnostics()), in StringLiteralParser()
|
/openbsd/gnu/llvm/clang/lib/AST/Interp/ |
H A D | Context.cpp | 123 return Ctx.getTargetInfo().getCharWidth(); in getCharBit()
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ObjCContainersASTChecker.cpp | 75 PtrWidth(ASTC.getTargetInfo().getPointerWidth(LangAS::Default)) {} in WalkAST()
|