Home
last modified time | relevance | path

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

123

/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()
DMicrosoftCXXABI.cpp78 Context.getTargetInfo().getTriple().getArch() == llvm::Triple::x86) in getDefaultMethodCallConv()
92 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
216 const TargetInfo &Target = Context.getTargetInfo(); in getMemberPointerWidthAndAlign()
DRecordLayoutBuilder.cpp684 return Context.getTargetInfo().getCXXABI(); in getCXXABI()
1025 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1027 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases()
1299 Context.getTargetInfo().getCharAlign())); in Layout()
1369 uint64_t CharAlignment = Context.getTargetInfo().getCharAlign(); in roundUpSizeToCharAlignment()
1423 Context.getTargetInfo().getCharAlign())); in LayoutWideBitField()
1534 if (!IsMsStruct && !Context.getTargetInfo().useBitFieldTypeAlignment()) { in LayoutBitField()
1537 Context.getTargetInfo().useZeroLengthBitfieldAlignment()) { in LayoutBitField()
1541 Context.getTargetInfo().getZeroLengthBitfieldBoundary(); in LayoutBitField()
1624 !Context.getTargetInfo().useZeroLengthBitfieldAlignment() && in LayoutBitField()
[all …]
DMangle.cpp67 const TargetInfo &TI = Context.getTargetInfo(); in getCallingConvMangling()
130 getASTContext().getTargetInfo().getUserLabelPrefix(); in mangleName()
141 const TargetInfo &TI = Context.getTargetInfo(); in mangleName()
DRecordLayout.cpp92 if (Ctx.getTargetInfo().getCXXABI().hasPrimaryVBases()) { in ASTRecordLayout()
/external/clang/lib/CodeGen/
DModuleBuilder.cpp96 M->setTargetTriple(Ctx->getTargetInfo().getTriple().getTriple()); in Initialize()
97 M->setDataLayout(Ctx->getTargetInfo().getTargetDescription()); in Initialize()
99 new llvm::DataLayout(Ctx->getTargetInfo().getTargetDescription())); in Initialize()
/external/clang/lib/Analysis/
DPrintfFormatString.cpp338 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType()
367 return Ctx.getTargetInfo().getTriple().isArch64Bit() in getArgType()
400 return Ctx.getTargetInfo().getTriple().isArch64Bit() in getArgType()
465 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() && in getArgType()
472 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() && in getArgType()
603 if (hasValidLengthModifier(Ctx.getTargetInfo())) { in fixType()
DScanfFormatString.cpp337 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType()
353 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType()
493 if (hasValidLengthModifier(Ctx.getTargetInfo())) { in fixType()
/external/clang/lib/Sema/
DSemaStmtAsm.cpp148 !Context.getTargetInfo().validateOutputConstraint(Info)) in ActOnGCCAsmStmt()
204 if (!Context.getTargetInfo().validateOutputSize(Literal->getString(), in ActOnGCCAsmStmt()
223 !Context.getTargetInfo().validateInputConstraint( in ActOnGCCAsmStmt()
290 if (!Context.getTargetInfo().validateInputSize(Literal->getString(), in ActOnGCCAsmStmt()
304 if (!Context.getTargetInfo().isValidClobber(Clobber)) in ActOnGCCAsmStmt()
355 if (!Context.getTargetInfo().validateConstraintModifier( in ActOnGCCAsmStmt()
DSemaDeclAttr.cpp1495 if (S.Context.getTargetInfo().getTriple().isOSDarwin()) { in handleAliasAttr()
2058 !S.Context.getTargetInfo().hasProtectedVisibility()) { in handleVisibilityAttr()
2289 (S.Context.getTargetInfo().getTriple().isOSDarwin() && in handleWeakImportAttr()
2377 std::string Error = Context.getTargetInfo().isValidSectionSpecifier(SecName); in checkSectionName()
2397 std::string Error = S.Context.getTargetInfo().isValidSectionSpecifier(Str); in handleSectionAttr()
3120 DestWidth = S.Context.getTargetInfo().getPointerWidth(0); in handleModeAttr()
3122 DestWidth = S.Context.getTargetInfo().getCharWidth(); in handleModeAttr()
3126 DestWidth = S.Context.getTargetInfo().getPointerWidth(0); in handleModeAttr()
3130 DestWidth = S.Context.getTargetInfo().getUnwindWordWidth(); in handleModeAttr()
3418 CC = Context.getTargetInfo().getTriple().isOSWindows() ? CC_C : in CheckCallingConvAttr()
[all …]
DDeclSpec.cpp994 (!PP.getTargetInfo().hasFeature("vsx")) && in Finish()
995 (!PP.getTargetInfo().hasFeature("power8-vector"))) in Finish()
1007 else if (!PP.getTargetInfo().hasFeature("vsx")) in Finish()
DSemaChecking.cpp47 Context.getTargetInfo()); in getLocationOfStringLiteralByte()
263 switch (Context.getTargetInfo().getTriple().getArch()) { in CheckBuiltinFunctionCall()
529 switch (Context.getTargetInfo().getTriple().getArch()) { in CheckBuiltinFunctionCall()
672 llvm::Triple::ArchType Arch = Context.getTargetInfo().getTriple().getArch(); in CheckNeonBuiltinFunctionCall()
675 Context.getTargetInfo().getInt64Type() == TargetInfo::SignedLong; in CheckNeonBuiltinFunctionCall()
913 bool IsTarget64Bit = Context.getTargetInfo() in CheckPPCBuiltinFunctionCall()
915 .getTargetInfo() in CheckPPCBuiltinFunctionCall()
926 if ((IsBltinExtDiv && !Context.getTargetInfo().hasFeature("extdiv")) || in CheckPPCBuiltinFunctionCall()
928 !Context.getTargetInfo().hasFeature("bpermd"))) in CheckPPCBuiltinFunctionCall()
2548 if (!Context.getTargetInfo().hasSjLjLowering()) in SemaBuiltinLongjmp()
[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()
353 CodeGenTarget &Target = CDP.getTargetInfo(); in run()
549 CodeGenTarget &Target = CDP.getTargetInfo(); in emitRecord()
DDAGISelMatcherGen.cpp624 CGP.getTargetInfo().getRegBank().getReg(Def); in EmitResultLeafAsOperand()
686 const CodeGenTarget &CGT = CGP.getTargetInfo(); in mayInstNodeLoadOrStore()
715 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultInstructionAsOperand()
973 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultCode()
DFastISelEmitter.cpp443 const CodeGenTarget &Target = CGP.getTargetInfo(); in collectPatterns()
461 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in collectPatterns()
877 const CodeGenTarget &Target = CGP.getTargetInfo(); in EmitFastISel()
DCodeGenDAGPatterns.cpp82 TP.getDAGPatterns().getTargetInfo().getLegalValueTypes(); in FillWithPossibleTypes()
1077 CodeGenTarget &Tgt = TP.getDAGPatterns().getTargetInfo(); in UpdateNodeTypeFromInst()
1197 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator); in GetNumNodeResults()
1211 if (InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()) !=MVT::Other) in GetNumNodeResults()
1447 const CodeGenTarget &T = TP.getDAGPatterns().getTargetInfo(); in getImplicitType()
1463 const CodeGenTarget &T = TP.getDAGPatterns().getTargetInfo(); in getImplicitType()
1477 const CodeGenTarget &T = TP.getDAGPatterns().getTargetInfo(); in getImplicitType()
1779 CDP.getTargetInfo().getInstruction(getOperator()); in ApplyTypeConstraints()
1798 InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()); in ApplyTypeConstraints()
DCodeGenDAGPatterns.h735 CodeGenTarget &getTargetInfo() { return Target; } in getTargetInfo() function
736 const CodeGenTarget &getTargetInfo() const { return Target; } in getTargetInfo() function
/external/clang/lib/Lex/
DLiteralSupport.cpp1056 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser()
1058 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser()
1059 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser()
1061 assert(PP.getTargetInfo().getWCharWidth() <= 64 && in CharLiteralParser()
1075 0xFFFFFFFFu >> (32-PP.getTargetInfo().getWCharWidth()); in CharLiteralParser()
1143 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser()
1167 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
1259 Target(PP.getTargetInfo()), Diags(Complain ? &PP.getDiagnostics() :nullptr), in StringLiteralParser()
DPPMacroExpansion.cpp925 LangOpts.C11 && PP.getTargetInfo().isTLSSupported()) in HasFeature()
959 LangOpts.CPlusPlus11 && PP.getTargetInfo().isTLSSupported()) in HasFeature()
1008 .Case("tls", PP.getTargetInfo().isTLSSupported()) in HasFeature()
1043 .Case("c_thread_local", PP.getTargetInfo().isTLSSupported()) in HasExtension()
1439 getTargetInfo().getTriple(), getLangOpts()); in ExpandBuiltinMacro()
1442 getTargetInfo().getTriple(), getLangOpts()); in ExpandBuiltinMacro()
1445 getTargetInfo().getTriple(), getLangOpts()); in ExpandBuiltinMacro()
DPPExpressions.cpp295 const TargetInfo &TI = PP.getTargetInfo(); in EvaluateValue()
754 unsigned BitWidth = getTargetInfo().getIntMaxTWidth(); in EvaluateDirectiveExpression()
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersASTChecker.cpp77 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {} in WalkAST()
DUnixAPIChecker.cpp117 if (C.getASTContext().getTargetInfo().getTriple().getVendor() in CheckOpen()
/external/lldb/include/lldb/Symbol/
DClangASTContext.h79 getTargetInfo();
/external/clang/lib/Parse/
DParsePragma.cpp201 if (getLangOpts().MicrosoftExt || getTargetInfo().getTriple().isPS4()) { in initializePragmaHandlers()
267 if (getLangOpts().MicrosoftExt || getTargetInfo().getTriple().isPS4()) { in resetPragmaHandlers()
686 if (getTargetInfo().getTriple().getEnvironment() != llvm::Triple::MSVC) { in HandlePragmaMSInitSeg()
1816 if (PP.getTargetInfo().getTriple().isPS4() && Kind != Sema::PCK_Lib) { in HandlePragma()

123