Searched refs:getTargetInfo (Results 1 - 25 of 105) sorted by relevance

12345

/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DPatternInit.cpp24 CGM.getContext().getTargetInfo().getMaxPointerWidth() < 64
47 unsigned PtrWidth = CGM.getContext().getTargetInfo().getPointerWidth(
H A DObjectFilePCHContainerOperations.cpp169 M->setDataLayout(Ctx->getTargetInfo().getDataLayout());
247 M->setTargetTriple(Ctx.getTargetInfo().getTriple().getTriple());
248 M->setDataLayout(Ctx.getTargetInfo().getDataLayout());
265 auto Triple = Ctx.getTargetInfo().getTriple();
298 Ctx.getTargetInfo().getDataLayout(), M.get(),
306 LangOpts, Ctx.getTargetInfo().getDataLayout(),
H A DModuleBuilder.cpp140 M->setTargetTriple(Ctx->getTargetInfo().getTriple().getTriple());
141 M->setDataLayout(Ctx->getTargetInfo().getDataLayout());
142 const auto &SDKVersion = Ctx->getTargetInfo().getSDKVersion();
227 if (Ctx->getTargetInfo().getCXXABI().isMicrosoft()) {
H A DCGRecordLayoutBuilder.cpp108 return Context.getTargetInfo().getCXXABI().isMicrosoft() ||
117 return !Context.getTargetInfo().getCXXABI().isMicrosoft();
459 (!Context.getTargetInfo().useZeroLengthBitfieldAlignment() &&
460 !Context.getTargetInfo().useBitFieldTypeAlignment())) &&
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp195 const TargetInfo &Target = Context.getTargetInfo();
207 const llvm::Triple &T = Context.getTargetInfo().getTriple();
211 return Context.getTargetInfo().getDefaultCallingConv();
224 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
H A DRecordLayout.cpp84 if (Ctx.getTargetInfo().getCXXABI().hasPrimaryVBases()) {
H A DMicrosoftCXXABI.cpp84 Context.getTargetInfo().getTriple().getArch() == llvm::Triple::x86)
86 return Context.getTargetInfo().getDefaultCallingConv();
239 const TargetInfo &Target = Context.getTargetInfo();
H A DRecordLayoutBuilder.cpp703 return Context.getTargetInfo().getCXXABI();
1041 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
1043 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0));
1202 Context.getTargetInfo().getTriple().isPS4()))
1322 llvm::alignTo(getSizeInBits(), Context.getTargetInfo().getCharAlign()));
1392 uint64_t CharAlignment = Context.getTargetInfo().getCharAlign();
1445 llvm::alignTo(NewSizeInBits, Context.getTargetInfo().getCharAlign()));
1557 if (!IsMsStruct && !Context.getTargetInfo().useBitFieldTypeAlignment()) {
1560 Context.getTargetInfo().useZeroLengthBitfieldAlignment()) {
1564 Context.getTargetInfo()
[all...]
H A DMangle.cpp64 const TargetInfo &TI = Context.getTargetInfo();
136 getASTContext().getTargetInfo().getDataLayout().getGlobalPrefix();
147 const TargetInfo &TI = Context.getTargetInfo();
297 : MC(Ctx.createMangleContext()), DL(Ctx.getTargetInfo().getDataLayout()) {
394 if (Ctx.getTargetInfo().getCXXABI().isItaniumFamily())
398 if (Ctx.getTargetInfo().getCXXABI().isMicrosoft())
404 if (Ctx.getTargetInfo().getCXXABI().isItaniumFamily()) {
H A DPrintfFormatString.cpp497 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT())
528 return Ctx.getTargetInfo().getTriple().isArch64Bit()
563 return Ctx.getTargetInfo().getTriple().isArch64Bit()
641 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() &&
648 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() &&
843 if (hasValidLengthModifier(Ctx.getTargetInfo(), LangOpt)) {
H A DScanfFormatString.cpp344 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT())
361 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT())
507 if (hasValidLengthModifier(Ctx.getTargetInfo(), LangOpt)) {
H A DOSLog.cpp208 Ctx.getTargetInfo(), /*isFreeBSDKPrintf*/ false);
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelEmitter.cpp48 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
125 CGP.getTargetInfo().getName().str() + " target", OS);
H A DInstrInfoEmitter.cpp46 Records(R), CDP(R), SchedModels(CDP.getTargetInfo().getSchedModels()) {}
206 const CodeGenTarget &Target = CDP.getTargetInfo();
526 CodeGenTarget &Target = CDP.getTargetInfo();
667 CodeGenTarget &Target = CDP.getTargetInfo();
H A DDAGISelMatcherGen.cpp682 CGP.getTargetInfo().getRegBank().getReg(Def);
733 const CodeGenTarget &CGT = CGP.getTargetInfo();
762 const CodeGenTarget &CGT = CGP.getTargetInfo();
872 CGP.getTargetInfo().getRegBank().getReg(PhysRegInputs[i].first);
1037 const CodeGenTarget &CGT = CGP.getTargetInfo();
H A DInstrDocsEmitter.cpp60 CodeGenTarget &Target = CDP.getTargetInfo();
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp109 return Ctx.getTargetInfo().getCharWidth();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp622 if ((PP.getTargetInfo().hasFloat16Type() || PP.getLangOpts().CUDA) &&
1258 assert(PP.getTargetInfo().getCharWidth() == 8 &&
1260 assert(PP.getTargetInfo().getIntWidth() <= 64 &&
1261 (PP.getTargetInfo().getIntWidth() & 7) == 0 &&
1263 assert(PP.getTargetInfo().getWCharWidth() <= 64 &&
1277 0xFFFFFFFFu >> (32-PP.getTargetInfo().getWCharWidth());
1345 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo());
1369 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0);
1461 Target(PP.getTargetInfo()), Diags(Complain ? &PP.getDiagnostics() :nullptr),
H A DPPMacroExpansion.cpp1692 getTargetInfo(), getLangOpts()) : 0;
1700 getTargetInfo(), getLangOpts()) : 0;
1726 return II ? hasAttribute(Syntax, ScopeII, II, getTargetInfo(),
1834 return II && isTargetArch(getTargetInfo(), II);
1841 return II && isTargetVendor(getTargetInfo(), II);
1848 return II && isTargetOS(getTargetInfo(), II);
1855 return II && isTargetEnvironment(getTargetInfo(), II);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp272 if (!Context.getTargetInfo().validateOutputConstraint(Info)) {
333 if (!Context.getTargetInfo().validateOutputSize(
355 if (!Context.getTargetInfo().validateInputConstraint(OutputConstraintInfos,
435 if (!Context.getTargetInfo().validateInputSize(FeatureMap,
449 if (!Context.getTargetInfo().isValidClobber(Clobber)) {
508 if (!Context.getTargetInfo().validateConstraintModifier(
668 Context.getTargetInfo(), Context);
H A DSemaDeclAttr.cpp1362 if (S.getASTContext().getTargetInfo().getTriple().isPS4()) {
1867 if (S.Context.getTargetInfo().getTriple().isOSDarwin()) {
1871 if (S.Context.getTargetInfo().getTriple().isNVPTX()) {
1955 if (!S.Context.getTargetInfo().validateCPUSpecificCPUDispatch(CPUName)) {
1961 const TargetInfo &Target = S.Context.getTargetInfo();
1997 const auto &Triple = S.getASTContext().getTargetInfo().getTriple();
2040 if (!AL.existsInTarget(Context.getTargetInfo())) {
2447 if (S.Context.getTargetInfo().getTriple().isWatchOS()) {
2486 } else if (S.Context.getTargetInfo().getTriple().isTvOS()) {
2587 !S.Context.getTargetInfo()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp75 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {}
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp47 if (Ctx.getTargetInfo().getTriple().isiOS() ||
48 Ctx.getTargetInfo().getTriple().isWatchOS())
/freebsd-11-stable/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp249 const llvm::Triple &TripleTo = Context.getTargetInfo().getTriple();
251 Unit->getASTContext().getTargetInfo().getTriple();
/freebsd-11-stable/contrib/llvm-project/lld/ELF/Arch/
H A DX86_64.cpp742 static TargetInfo *getTargetInfo() { function in namespace:lld::elf
761 TargetInfo *getX86_64TargetInfo() { return getTargetInfo(); }

Completed in 239 milliseconds

12345