/external/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 167 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()
|
D | ModuleBuilder.cpp | 121 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/llvm-project/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 169 M->setDataLayout(Ctx->getTargetInfo().getDataLayout()); in Initialize() 247 M->setTargetTriple(Ctx.getTargetInfo().getTriple().getTriple()); in HandleTranslationUnit() 248 M->setDataLayout(Ctx.getTargetInfo().getDataLayout()); in HandleTranslationUnit() 265 auto Triple = Ctx.getTargetInfo().getTriple(); in HandleTranslationUnit() 298 Ctx.getTargetInfo().getDataLayout(), M.get(), in HandleTranslationUnit() 306 LangOpts, Ctx.getTargetInfo().getDataLayout(), in HandleTranslationUnit()
|
D | ModuleBuilder.cpp | 140 M->setTargetTriple(Ctx->getTargetInfo().getTriple().getTriple()); in Initialize() 141 M->setDataLayout(Ctx->getTargetInfo().getDataLayout()); in Initialize() 142 const auto &SDKVersion = Ctx->getTargetInfo().getSDKVersion(); in Initialize() 227 if (Ctx->getTargetInfo().getCXXABI().isMicrosoft()) { in HandleTagDeclDefinition()
|
D | PatternInit.cpp | 25 CGM.getContext().getTargetInfo().getMaxPointerWidth() < 64 in initializationPatternFor() 46 unsigned PtrWidth = CGM.getContext().getTargetInfo().getPointerWidth( in initializationPatternFor()
|
/external/llvm-project/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 717 return Context.getTargetInfo().getCXXABI(); in getCXXABI() 1059 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases() 1061 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases() 1222 Context.getTargetInfo().getTriple().isPS4() || in LayoutBase() 1223 Context.getTargetInfo().getTriple().isOSAIX())) in LayoutBase() 1236 Context.getTargetInfo().defaultsToAIXPowerAlignment(); in LayoutBase() 1317 !Context.getTargetInfo().defaultsToAIXPowerAlignment(); in InitializeLayout() 1379 llvm::alignTo(getSizeInBits(), Context.getTargetInfo().getCharAlign())); in Layout() 1450 uint64_t CharAlignment = Context.getTargetInfo().getCharAlign(); in roundUpSizeToCharAlignment() 1503 llvm::alignTo(NewSizeInBits, Context.getTargetInfo().getCharAlign())); in LayoutWideBitField() [all …]
|
D | ItaniumCXXABI.cpp | 195 const TargetInfo &Target = Context.getTargetInfo(); in getMemberPointerInfo() 207 const llvm::Triple &T = Context.getTargetInfo().getTriple(); in getDefaultMethodCallConv() 211 return Context.getTargetInfo().getDefaultCallingConv(); in getDefaultMethodCallConv() 224 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
|
D | Mangle.cpp | 68 const TargetInfo &TI = Context.getTargetInfo(); in getCallingConvMangling() 155 getASTContext().getTargetInfo().getDataLayout().getGlobalPrefix(); in mangleName() 175 const TargetInfo &TI = Context.getTargetInfo(); in mangleName() 380 : MC(Ctx.createMangleContext()), DL(Ctx.getTargetInfo().getDataLayout()) { in Implementation() 478 if (Ctx.getTargetInfo().getCXXABI().isItaniumFamily()) in getAllManglings() 482 if (Ctx.getTargetInfo().getCXXABI().isMicrosoft()) in getAllManglings() 488 if (Ctx.getTargetInfo().getCXXABI().isItaniumFamily()) { in getAllManglings()
|
D | MicrosoftCXXABI.cpp | 84 Context.getTargetInfo().getTriple().getArch() == llvm::Triple::x86) in getDefaultMethodCallConv() 86 return Context.getTargetInfo().getDefaultCallingConv(); in getDefaultMethodCallConv() 239 const TargetInfo &Target = Context.getTargetInfo(); in getMemberPointerInfo()
|
/external/clang/lib/Index/ |
D | CodegenNameGenerator.cpp | 34 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/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | DefaultOperatorNewAlignmentCheck.cpp | 51 unsigned DefaultNewAlignment = Context.getTargetInfo().getNewAlign(); in check() 57 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); in check()
|
/external/clang/lib/AST/ |
D | ItaniumCXXABI.cpp | 105 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()
|
D | RecordLayoutBuilder.cpp | 682 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 …]
|
D | Mangle.cpp | 67 const TargetInfo &TI = Context.getTargetInfo(); in getCallingConvMangling() 130 getASTContext().getTargetInfo().getDataLayout().getGlobalPrefix(); in mangleName() 141 const TargetInfo &TI = Context.getTargetInfo(); in mangleName()
|
D | MicrosoftCXXABI.cpp | 86 Context.getTargetInfo().getTriple().getArch() == llvm::Triple::x86) in getDefaultMethodCallConv() 245 const TargetInfo &Target = Context.getTargetInfo(); in getMemberPointerWidthAndAlign()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaAvailability.cpp | 44 StringRef TargetPlatform = Context.getTargetInfo().getPlatformName(); in getAttrForPlatform() 181 const auto &Triple = Context.getTargetInfo().getTriple(); in shouldDiagnoseAvailabilityByDefault() 367 S.Context, S.Context.getTargetInfo().getPlatformMinVersion(), in DoEmitAvailabilityWarning() 373 S.getASTContext().getTargetInfo().getPlatformName())); in DoEmitAvailabilityWarning() 381 << S.Context.getTargetInfo().getPlatformMinVersion().getAsString(); in DoEmitAvailabilityWarning() 406 S.getASTContext().getTargetInfo().getPlatformName()) in DoEmitAvailabilityWarning() 666 SemaRef.Context.getTargetInfo().getPlatformMinVersion()); in DiagnoseUnguardedAvailability() 767 SemaRef.Context.getTargetInfo().getPlatformMinVersion(), Introduced) in DiagnoseDeclAvailability() 772 SemaRef.getASTContext().getTargetInfo().getPlatformName())); in DiagnoseDeclAvailability() 780 << SemaRef.Context.getTargetInfo() in DiagnoseDeclAvailability() [all …]
|
D | SemaStmtAsm.cpp | 272 if (!Context.getTargetInfo().validateOutputConstraint(Info)) { in ActOnGCCAsmStmt() 341 if (!Context.getTargetInfo().validateOutputSize( in ActOnGCCAsmStmt() 363 if (!Context.getTargetInfo().validateInputConstraint(OutputConstraintInfos, in ActOnGCCAsmStmt() 449 if (!Context.getTargetInfo().validateInputSize(FeatureMap, in ActOnGCCAsmStmt() 463 if (!Context.getTargetInfo().isValidClobber(Clobber)) { in ActOnGCCAsmStmt() 522 if (!Context.getTargetInfo().validateConstraintModifier( in ActOnGCCAsmStmt() 682 Context.getTargetInfo(), Context); in ActOnGCCAsmStmt()
|
/external/llvm/utils/TableGen/ |
D | DAGISelEmitter.cpp | 49 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost() 124 CGP.getTargetInfo().getName() + " target", OS); in run()
|
D | InstrInfoEmitter.cpp | 39 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()
|
/external/llvm-project/llvm/utils/TableGen/ |
D | DAGISelEmitter.cpp | 49 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost() 126 CGP.getTargetInfo().getName().str() + " target", OS); in run()
|
D | DAGISelMatcherGen.cpp | 682 CGP.getTargetInfo().getRegBank().getReg(Def); in EmitResultLeafAsOperand() 714 CGP.getTargetInfo().getRegisterClass(Def); in EmitResultLeafAsOperand() 728 const CodeGenRegBank &RB = CGP.getTargetInfo().getRegBank(); in EmitResultLeafAsOperand() 755 const CodeGenTarget &CGT = CGP.getTargetInfo(); in mayInstNodeLoadOrStore() 784 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultInstructionAsOperand() 894 CGP.getTargetInfo().getRegBank().getReg(PhysRegInputs[i].first); in EmitResultInstructionAsOperand() 1059 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultCode()
|
/external/clang/lib/Analysis/ |
D | PrintfFormatString.cpp | 405 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()
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 176 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()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 1066 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()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | Features.def | 133 FEATURE(c_thread_local, LangOpts.C11 &&PP.getTargetInfo().isTLSSupported()) 168 LangOpts.CPlusPlus11 &&PP.getTargetInfo().isTLSSupported()) 225 FEATURE(tls, PP.getTargetInfo().isTLSSupported()) 234 EXTENSION(c_thread_local, PP.getTargetInfo().isTLSSupported())
|