Home
last modified time | relevance | path

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

1234

/external/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp167 M->setDataLayout(Ctx->getTargetInfo().getDataLayout()); in Initialize()
239 M->setTargetTriple(Ctx.getTargetInfo().getTriple().getTriple()); in HandleTranslationUnit()
240 M->setDataLayout(Ctx.getTargetInfo().getDataLayout()); in HandleTranslationUnit()
253 auto Triple = Ctx.getTargetInfo().getTriple(); in HandleTranslationUnit()
286 Ctx.getTargetInfo().getDataLayout(), M.get(), in HandleTranslationUnit()
293 Ctx.getTargetInfo().getDataLayout(), M.get(), in HandleTranslationUnit()
DModuleBuilder.cpp121 M->setTargetTriple(Ctx->getTargetInfo().getTriple().getTriple()); in Initialize()
122 M->setDataLayout(Ctx->getTargetInfo().getDataLayout()); in Initialize()
174 if (Ctx->getTargetInfo().getCXXABI().isMicrosoft() in HandleInlineFunctionDefinition()
216 if (Ctx->getTargetInfo().getCXXABI().isMicrosoft()) { in HandleTagDeclDefinition()
/external/clang/lib/Index/
DCodegenNameGenerator.cpp34 DL(Ctx.getTargetInfo().getDataLayout()) {} in Implementation()
92 if (Ctx.getTargetInfo().getCXXABI().isItaniumFamily()) in getAllManglings()
96 if (Ctx.getTargetInfo().getCXXABI().isMicrosoft()) in getAllManglings()
102 if (Ctx.getTargetInfo().getCXXABI().isItaniumFamily()) { in getAllManglings()
/external/clang/lib/AST/
DItaniumCXXABI.cpp105 const TargetInfo &Target = Context.getTargetInfo(); in getMemberPointerWidthAndAlign()
115 const llvm::Triple &T = Context.getTargetInfo().getTriple(); in getDefaultMethodCallConv()
132 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
DRecordLayoutBuilder.cpp682 return Context.getTargetInfo().getCXXABI(); in getCXXABI()
1021 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1023 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases()
1295 llvm::alignTo(getSizeInBits(), Context.getTargetInfo().getCharAlign())); in Layout()
1365 uint64_t CharAlignment = Context.getTargetInfo().getCharAlign(); in roundUpSizeToCharAlignment()
1418 llvm::alignTo(NewSizeInBits, Context.getTargetInfo().getCharAlign())); in LayoutWideBitField()
1529 if (!IsMsStruct && !Context.getTargetInfo().useBitFieldTypeAlignment()) { in LayoutBitField()
1532 Context.getTargetInfo().useZeroLengthBitfieldAlignment()) { in LayoutBitField()
1536 Context.getTargetInfo().getZeroLengthBitfieldBoundary(); in LayoutBitField()
1609 Context.getTargetInfo().useExplicitBitFieldAlignment()) { in LayoutBitField()
[all …]
DMangle.cpp67 const TargetInfo &TI = Context.getTargetInfo(); in getCallingConvMangling()
130 getASTContext().getTargetInfo().getDataLayout().getGlobalPrefix(); in mangleName()
141 const TargetInfo &TI = Context.getTargetInfo(); in mangleName()
DMicrosoftCXXABI.cpp86 Context.getTargetInfo().getTriple().getArch() == llvm::Triple::x86) in getDefaultMethodCallConv()
245 const TargetInfo &Target = Context.getTargetInfo(); in getMemberPointerWidthAndAlign()
DRecordLayout.cpp80 if (Ctx.getTargetInfo().getCXXABI().hasPrimaryVBases()) { in ASTRecordLayout()
/external/clang/lib/Analysis/
DPrintfFormatString.cpp405 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType()
434 return Ctx.getTargetInfo().getTriple().isArch64Bit() in getArgType()
467 return Ctx.getTargetInfo().getTriple().isArch64Bit() in getArgType()
532 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() && in getArgType()
539 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() && in getArgType()
674 if (hasValidLengthModifier(Ctx.getTargetInfo())) { in fixType()
DScanfFormatString.cpp342 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType()
358 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType()
498 if (hasValidLengthModifier(Ctx.getTargetInfo())) { in fixType()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DInstrInfoEmitter.cpp47 Records(R), CDP(R), SchedModels(CDP.getTargetInfo().getSchedModels()) {} in InstrInfoEmitter()
199 const CodeGenTarget &Target = CDP.getTargetInfo(); in EmitOperandInfo()
359 CodeGenTarget &Target = CDP.getTargetInfo(); in emitMCIIHelperMethods()
436 CodeGenTarget &Target = CDP.getTargetInfo(); in run()
567 CodeGenTarget &Target = CDP.getTargetInfo(); in emitRecord()
DDAGISelEmitter.cpp49 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost()
126 CGP.getTargetInfo().getName().str() + " target", OS); in run()
DDAGISelMatcherGen.cpp624 CGP.getTargetInfo().getRegBank().getReg(Def); in EmitResultLeafAsOperand()
664 const CodeGenTarget &CGT = CGP.getTargetInfo(); in mayInstNodeLoadOrStore()
693 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultInstructionAsOperand()
951 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultCode()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DDAGISelEmitter.cpp35 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost()
112 CGP.getTargetInfo().getName() + " target", OS); in run()
DDAGISelMatcherGen.cpp586 CGP.getTargetInfo().getRegBank().getReg(Def); in EmitResultLeafAsOperand()
648 const CodeGenTarget &CGT = CGP.getTargetInfo(); in mayInstNodeLoadOrStore()
677 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultInstructionAsOperand()
903 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultCode()
DInstrInfoEmitter.cpp143 const CodeGenTarget &Target = CDP.getTargetInfo(); in EmitOperandInfo()
175 CodeGenTarget &Target = CDP.getTargetInfo(); in run()
DCodeGenDAGPatterns.cpp77 TP.getDAGPatterns().getTargetInfo().getLegalValueTypes(); in FillWithPossibleTypes()
1033 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator); in GetNumNodeResults()
1039 if (InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()) !=MVT::Other) in GetNumNodeResults()
1251 const CodeGenTarget &T = TP.getDAGPatterns().getTargetInfo(); in getImplicitType()
1260 const CodeGenTarget &T = TP.getDAGPatterns().getTargetInfo(); in getImplicitType()
1274 const CodeGenTarget &T = TP.getDAGPatterns().getTargetInfo(); in getImplicitType()
1524 CDP.getTargetInfo().getInstruction(getOperator()); in ApplyTypeConstraints()
1540 CDP.getTargetInfo().getRegisterClass(RegClass); in ApplyTypeConstraints()
1548 CDP.getTargetInfo().getRegisterClass(ResultNode); in ApplyTypeConstraints()
1561 InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()); in ApplyTypeConstraints()
[all …]
/external/llvm/utils/TableGen/
DDAGISelEmitter.cpp49 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost()
124 CGP.getTargetInfo().getName() + " target", OS); in run()
DInstrInfoEmitter.cpp39 Records(R), CDP(R), SchedModels(CDP.getTargetInfo().getSchedModels()) {} in InstrInfoEmitter()
179 const CodeGenTarget &Target = CDP.getTargetInfo(); in EmitOperandInfo()
350 CodeGenTarget &Target = CDP.getTargetInfo(); in run()
546 CodeGenTarget &Target = CDP.getTargetInfo(); in emitRecord()
DDAGISelMatcherGen.cpp619 CGP.getTargetInfo().getRegBank().getReg(Def); in EmitResultLeafAsOperand()
681 const CodeGenTarget &CGT = CGP.getTargetInfo(); in mayInstNodeLoadOrStore()
710 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultInstructionAsOperand()
968 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultCode()
/external/clang/lib/Sema/
DSemaStmtAsm.cpp176 if (!Context.getTargetInfo().validateOutputConstraint(Info)) in ActOnGCCAsmStmt()
237 if (!Context.getTargetInfo().validateOutputSize(Literal->getString(), in ActOnGCCAsmStmt()
255 if (!Context.getTargetInfo().validateInputConstraint(OutputConstraintInfos, in ActOnGCCAsmStmt()
328 if (!Context.getTargetInfo().validateInputSize(Literal->getString(), in ActOnGCCAsmStmt()
342 if (!Context.getTargetInfo().isValidClobber(Clobber)) in ActOnGCCAsmStmt()
393 if (!Context.getTargetInfo().validateConstraintModifier( in ActOnGCCAsmStmt()
DSemaDeclAttr.cpp1564 if (S.Context.getTargetInfo().getTriple().getObjectFormat() != in handleIFuncAttr()
1579 if (S.Context.getTargetInfo().getTriple().isOSDarwin()) { in handleAliasAttr()
1583 if (S.Context.getTargetInfo().getTriple().isNVPTX()) { in handleAliasAttr()
2169 if (S.Context.getTargetInfo().getTriple().isWatchOS()) { in handleAvailabilityAttr()
2214 } else if (S.Context.getTargetInfo().getTriple().isTvOS()) { in handleAvailabilityAttr()
2307 !S.Context.getTargetInfo().hasProtectedVisibility()) { in handleVisibilityAttr()
2544 (S.Context.getTargetInfo().getTriple().isOSDarwin() && in handleWeakImportAttr()
2632 std::string Error = Context.getTargetInfo().isValidSectionSpecifier(SecName); in checkSectionName()
2652 std::string Error = S.Context.getTargetInfo().isValidSectionSpecifier(Str); in handleSectionAttr()
3260 Context.getTargetInfo().getTriple().isOSBinFormatCOFF() ? 8192 in AddAlignedAttr()
[all …]
/external/clang/lib/Lex/
DLiteralSupport.cpp1066 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser()
1068 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser()
1069 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser()
1071 assert(PP.getTargetInfo().getWCharWidth() <= 64 && in CharLiteralParser()
1085 0xFFFFFFFFu >> (32-PP.getTargetInfo().getWCharWidth()); in CharLiteralParser()
1153 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser()
1177 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
1269 Target(PP.getTargetInfo()), Diags(Complain ? &PP.getDiagnostics() :nullptr), in StringLiteralParser()
DPPMacroExpansion.cpp1134 LangOpts.C11 && PP.getTargetInfo().isTLSSupported()) in HasFeature()
1168 LangOpts.CPlusPlus11 && PP.getTargetInfo().isTLSSupported()) in HasFeature()
1220 .Case("tls", PP.getTargetInfo().isTLSSupported()) in HasFeature()
1254 .Case("c_thread_local", PP.getTargetInfo().isTLSSupported()) in HasExtension()
1713 getTargetInfo(), getLangOpts()) : 0; in ExpandBuiltinMacro()
1721 getTargetInfo(), getLangOpts()) : 0; in ExpandBuiltinMacro()
1745 getTargetInfo(), getLangOpts()) : 0; in ExpandBuiltinMacro()
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersASTChecker.cpp76 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {} in WalkAST()

1234