Home
last modified time | relevance | path

Searched refs:getTargetInfo (Results 1 – 25 of 121) sorted by relevance

12345

/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DModuleBuilder.cpp154 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 DObjectFilePCHContainerOperations.cpp176 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 DCGRecordLayoutBuilder.cpp108 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 DPatternInit.cpp25 CGM.getContext().getTargetInfo().getMaxPointerWidth() < 64 in initializationPatternFor()
/openbsd/gnu/llvm/clang/lib/AST/
H A DRecordLayoutBuilder.cpp721 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 DMangle.cpp68 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 DItaniumCXXABI.cpp227 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 DMicrosoftCXXABI.cpp125 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 DPrintfFormatString.cpp501 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 DScanfFormatString.cpp346 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 DRecordLayout.cpp81 if (Ctx.getTargetInfo().getCXXABI().hasPrimaryVBases()) { in ASTRecordLayout()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaAvailability.cpp45 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 DSema.cpp284 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 DSemaDeclAttr.cpp1989 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 DSemaStmtAsm.cpp273 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 DDeclSpec.cpp1168 !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 DCXExtractAPI.cpp85 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 DDAGISelMatcherGen.cpp687 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 DDAGISelEmitter.cpp50 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost()
127 CGP.getTargetInfo().getName().str() + " target", OS); in run()
H A DInstrInfoEmitter.cpp56 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 DFeatures.def103 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 DPPMacroExpansion.cpp1572 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 DLiteralSupport.cpp1640 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 DContext.cpp123 return Ctx.getTargetInfo().getCharWidth(); in getCharBit()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp75 PtrWidth(ASTC.getTargetInfo().getPointerWidth(LangAS::Default)) {} in WalkAST()

12345