Home
last modified time | relevance | path

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

123

/external/clang/lib/CodeGen/
DModuleBuilder.cpp55 M->setTargetTriple(Ctx->getTargetInfo().getTriple().getTriple()); in Initialize()
56 M->setDataLayout(Ctx->getTargetInfo().getTargetDescription()); in Initialize()
57 TD.reset(new llvm::TargetData(Ctx->getTargetInfo().getTargetDescription())); in Initialize()
DCGRecordLayoutBuilder.cpp378 unsigned charAlign = Types.getContext().getTargetInfo().getCharAlign(); in LayoutBitField()
508 Types.getContext().getTargetInfo().getCharAlign())); in LayoutUnionField()
717 } else if (Types.getContext().getTargetInfo().getCXXABI() == CXXABI_Microsoft in LayoutNonVirtualBases()
842 if (Types.getContext().getTargetInfo().getCXXABI() != CXXABI_Microsoft) { in LayoutFields()
DCodeGenModule.cpp54 switch (CGM.getContext().getTargetInfo().getCXXABI()) { in createCXXABI()
90 PointerWidthInBits = C.getTargetInfo().getPointerWidth(0); in CodeGenModule()
92 C.toCharUnitsFromBits(C.getTargetInfo().getPointerAlign(0)).getQuantity(); in CodeGenModule()
93 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth()); in CodeGenModule()
197 return getContext().getTargetInfo().getTriple().isOSDarwin(); in isTargetDarwin()
2028 if (const char *Sect = getContext().getTargetInfo().getCFStringSection()) in GetAddrOfConstantCFString()
2151 ? getContext().getTargetInfo().getNSStringNonFragileABISection() in GetAddrOfConstantString()
2152 : getContext().getTargetInfo().getNSStringSection()) in GetAddrOfConstantString()
DTargetInfo.cpp947 return !getContext().getTargetInfo().getTriple().isOSDarwin(); in honorsRevision0_98()
2302 getContext().getTargetInfo().getTriple().getOS() in classify()
2437 getContext().getTargetInfo().getTriple().getEnvironmentName(); in isEABI()
2896 getContext().getTargetInfo().getTriple().getEnvironmentName(); in computeInfo()
3348 unsigned PtrWidth = getContext().getTargetInfo().getPointerWidth(0); in EmitVAArg()
3609 const llvm::Triple &Triple = getContext().getTargetInfo().getTriple(); in getTargetCodeGenInfo()
3627 if (strcmp(getContext().getTargetInfo().getABI(), "apcs-gnu") == 0) in getTargetCodeGenInfo()
3652 bool DisableMMX = strcmp(getContext().getTargetInfo().getABI(), "no-mmx") == 0; in getTargetCodeGenInfo()
3683 bool HasAVX = strcmp(getContext().getTargetInfo().getABI(), "avx") == 0; in getTargetCodeGenInfo()
DCGObjCRuntime.cpp120 uint64_t ContainingTypeAlign = CGF.CGM.getContext().getTargetInfo().getCharAlign(); in EmitValueForIvarAtOffset()
DCGCall.cpp750 return getContext().getTargetInfo().useObjCFPRetForRealType(TargetInfo::Float); in ReturnTypeUsesFPRet()
752 return getContext().getTargetInfo().useObjCFPRetForRealType(TargetInfo::Double); in ReturnTypeUsesFPRet()
754 return getContext().getTargetInfo().useObjCFPRetForRealType( in ReturnTypeUsesFPRet()
766 return getContext().getTargetInfo().useObjCFP2RetForComplexLongDouble(); in ReturnTypeUsesFP2Ret()
959 unsigned PointerWidth = getContext().getTargetInfo().getPointerWidth(0); in ConstructAttributeList()
/external/clang/lib/AST/
DMicrosoftCXXABI.cpp33 if (Context.getTargetInfo().getTriple().getArch() == llvm::Triple::x86) in getDefaultMethodCallConv()
48 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
DRecordLayoutBuilder.cpp681 return Context.getTargetInfo().getCXXABI() == CXXABI_Microsoft; in isMicrosoftCXXABI()
1043 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1045 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases()
1092 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1094 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases()
1461 Context.getTargetInfo().getCharAlign())); in Layout()
1474 Context.getTargetInfo().getCharAlign())); in Layout()
1595 Context.getTargetInfo().getCharAlign())); in LayoutFields()
1614 Context.getTargetInfo().getCharAlign())); in LayoutFields()
1636 else if (!Context.getTargetInfo().useBitFieldTypeAlignment() && in LayoutFields()
[all …]
DItaniumCXXABI.cpp56 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
DRecordLayout.cpp79 if (Ctx.getTargetInfo().getCXXABI() != CXXABI_Microsoft) { in ASTRecordLayout()
/external/clang/lib/Lex/
DLiteralSupport.cpp831 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser()
833 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser()
834 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser()
836 assert(PP.getTargetInfo().getWCharWidth() <= 64 && in CharLiteralParser()
849 largest_character_for_kind = 0xFFFFFFFFu >> (32-PP.getTargetInfo().getWCharWidth()); in CharLiteralParser()
917 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser()
940 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
1031 Target(PP.getTargetInfo()), Diags(Complain ? &PP.getDiagnostics() : 0), in StringLiteralParser()
DPPExpressions.cpp274 const TargetInfo &TI = PP.getTargetInfo(); in EvaluateValue()
735 unsigned BitWidth = getTargetInfo().getIntMaxTWidth(); in EvaluateDirectiveExpression()
/external/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.cpp145 const CodeGenTarget &Target = CDP.getTargetInfo(); in EmitOperandInfo()
177 CodeGenTarget &Target = CDP.getTargetInfo(); in run()
DCodeGenDAGPatterns.cpp80 TP.getDAGPatterns().getTargetInfo().getLegalValueTypes(); in FillWithPossibleTypes()
1035 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator); in GetNumNodeResults()
1041 if (InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()) !=MVT::Other) in GetNumNodeResults()
1253 const CodeGenTarget &T = TP.getDAGPatterns().getTargetInfo(); in getImplicitType()
1262 const CodeGenTarget &T = TP.getDAGPatterns().getTargetInfo(); in getImplicitType()
1276 const CodeGenTarget &T = TP.getDAGPatterns().getTargetInfo(); in getImplicitType()
1526 CDP.getTargetInfo().getInstruction(getOperator()); in ApplyTypeConstraints()
1542 CDP.getTargetInfo().getRegisterClass(RegClass); in ApplyTypeConstraints()
1550 CDP.getTargetInfo().getRegisterClass(ResultNode); in ApplyTypeConstraints()
1563 InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()); in ApplyTypeConstraints()
[all …]
DFastISelEmitter.cpp416 const CodeGenTarget &Target = CGP.getTargetInfo(); in collectPatterns()
434 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in collectPatterns()
854 const CodeGenTarget &Target = CGP.getTargetInfo(); in run()
DCodeGenDAGPatterns.h694 CodeGenTarget &getTargetInfo() { return Target; } in getTargetInfo() function
695 const CodeGenTarget &getTargetInfo() const { return Target; } in getTargetInfo() function
/external/clang/lib/Sema/
DTargetAttributesSema.cpp240 const llvm::Triple &Triple(S.Context.getTargetInfo().getTriple()); in ProcessDeclAttribute()
266 const llvm::Triple &Triple(Context.getTargetInfo().getTriple()); in getTargetAttributesSema()
DSemaDeclAttr.cpp1218 if (S.Context.getTargetInfo().getTriple().isOSDarwin()) { in handleAliasAttr()
1712 if (!S.Context.getTargetInfo().hasProtectedVisibility()) { in handleVisibilityAttr()
2018 (S.Context.getTargetInfo().getTriple().isOSDarwin() && in handleWeakImportAttr()
2069 std::string Error = S.Context.getTargetInfo().isValidSectionSpecifier(SE->getString()); in handleSectionAttr()
2701 DestWidth = S.Context.getTargetInfo().getPointerWidth(0); in handleModeAttr()
2703 DestWidth = S.Context.getTargetInfo().getCharWidth(); in handleModeAttr()
2707 DestWidth = S.Context.getTargetInfo().getPointerWidth(0); in handleModeAttr()
2781 if (S.Context.getTargetInfo().getLongWidth() == 64) in handleModeAttr()
2786 if (S.Context.getTargetInfo().getLongWidth() == 64) in handleModeAttr()
3144 if (Context.getTargetInfo().getRegParmMax() == 0) { in CheckRegparmAttr()
[all …]
DSemaAttr.cpp176 if (!PP.getTargetInfo().hasAlignMac68kSupport()) { in ActOnPragmaOptionsAlign()
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersASTChecker.cpp78 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {} in WalkAST()
DUnixAPIChecker.cpp81 if (C.getASTContext().getTargetInfo().getTriple().getVendor() in CheckOpen()
DCallAndMessageChecker.cpp351 !(supportsNilWithFloatRet(Ctx.getTargetInfo().getTriple()) && in HandleNilReceiver()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp696 InitializePredefinedMacros(PP.getTargetInfo(), LangOpts, FEOpts, Builder); in InitializePreprocessor()
716 InitializeStandardPredefinedMacros(PP.getTargetInfo(), PP.getLangOpts(), in InitializePreprocessor()
762 PP.getTargetInfo().getTriple()); in InitializePreprocessor()

123