Home
last modified time | relevance | path

Searched refs:getTarget (Results 1 – 25 of 171) sorted by relevance

1234567

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLLVMTargetMachine.cpp133 MCInstPrinter *InstPrinter = getTarget().createMCInstPrinter( in addAsmPrinter()
139 MCE.reset(getTarget().createMCCodeEmitter(MII, MRI, Context)); in addAsmPrinter()
142 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions)); in addAsmPrinter()
144 MCStreamer *S = getTarget().createAsmStreamer( in addAsmPrinter()
156 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions); in addAsmPrinter()
164 AsmStreamer.reset(getTarget().createMCObjectStreamer( in addAsmPrinter()
176 AsmStreamer.reset(getTarget().createNullStreamer(Context)); in addAsmPrinter()
182 getTarget().createAsmPrinter(*this, std::move(AsmStreamer)); in addAsmPrinter()
239 getTarget().createMCCodeEmitter(*getMCInstrInfo(), MRI, *Ctx); in addPassesToEmitMC()
241 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions); in addPassesToEmitMC()
[all …]
H A DTargetFrameLoweringImpl.cpp75 if (MF.getTarget().Options.EnableIPRA && isSafeForNoCSROpt(MF.getFunction())) in determineCalleeSaves()
117 return MF.getTarget().getAllocaPointerSize(); in getStackAlignmentSkew()
H A DPrologEpilogInserter.cpp196 if (MF.getTarget().usesPhysRegsForPEI()) in runOnMachineFunction()
939 if (MF.getTarget().getOptLevel() != CodeGenOpt::None && in calculateFrameObjectOffsets()
940 MF.getTarget().Options.StackSymbolOrdering) in calculateFrameObjectOffsets()
949 MF.getTarget().getOptLevel() != CodeGenOpt::None && in calculateFrameObjectOffsets()
H A DRegUsageInfoCollector.cpp84 const LLVMTargetMachine &TM = MF.getTarget(); in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsMachineFunction.cpp34 auto &TM = static_cast<const MipsTargetMachine &>(MF.getTarget()); in getGlobalBaseRegClass()
59 static_cast<const MipsTargetMachine &>(MF.getTarget()).getABI().IsN64() in createEhDataRegsFI()
H A DMipsFrameLowering.cpp98 return MF.getTarget().Options.DisableFramePointerElim(MF) || in hasFP()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGException.cpp61 getTarget().getCXXABI().isItaniumFamily()) { in getTerminateFn()
64 getTarget().getCXXABI().isMicrosoft()) { in getTerminateFn()
219 const llvm::Triple &T = CGM.getTarget().getTriple(); in get()
221 const TargetInfo &Target = CGM.getTarget(); in get()
331 const EHPersonality &CXX = getCXXPersonality(getTarget(), LangOpts); in SimplifyPersonality()
471 if (getTarget().getCXXABI().isMicrosoft()) in EmitStartEHSpec()
547 if (getTarget().getCXXABI().isMicrosoft()) in EmitEndEHSpec()
1764 CGM.getTarget().getTriple().getArch() != llvm::Triple::x86) { in EmitCapturedLocals()
1932 if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86) { in EmitSEHExceptionCodeSave()
2017 if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86 && C && in EnterSEHTryStmt()
[all …]
H A DCGCXX.cpp241 if (getTarget().getCXXABI().isMicrosoft() && in getAddrOfCXXStructor()
262 assert(!CGF.CGM.getTarget().getCXXABI().isMicrosoft() && in BuildAppleKextVirtualCall()
H A DCGStmt.cpp586 llvm::Value *V = Builder.CreateBitCast(EmitScalarExpr(S.getTarget()), in EmitIndirectGotoStmt()
1873 i + 1, SM, LangOpts, CGF.getTarget(), &StartToken, &ByteOffset); in getAsmSrcLocInfo()
1895 bool IsValid = getTarget().validateOutputConstraint(Info); (void)IsValid; in EmitAsmStmt()
1906 getTarget().validateInputConstraint(OutputConstraintInfos, Info); in EmitAsmStmt()
1939 getTarget(), &OutputConstraintInfos); in EmitAsmStmt()
1945 getTarget(), CGM, S, in EmitAsmStmt()
2058 InputConstraint = SimplifyConstraint(InputConstraint.c_str(), getTarget(), in EmitAsmStmt()
2063 getTarget(), CGM, S, false /* No EarlyClobber */); in EmitAsmStmt()
2125 Clobber = getTarget().getNormalizedGCCRegisterName(Clobber); in EmitAsmStmt()
2136 std::string MachineClobbers = getTarget().getClobbers(); in EmitAsmStmt()
H A DABIInfo.h68 const TargetInfo &getTarget() const;
H A DTargetInfo.cpp202 const TargetInfo &ABIInfo::getTarget() const { in getTarget() function in ABIInfo
203 return CGT.getTarget(); in getTarget()
5818 if (!getTarget().hasLegalHalfType() && in classifyHomogeneousAggregate()
5929 if (getTarget().isRenderScriptTarget()) { in classifyArgumentType()
6047 if (!getTarget().hasLegalHalfType() && in classifyReturnType()
6149 if (!getTarget().hasLegalHalfType() && in isIllegalVectorType()
9295 if (getTarget().getABI() == "darwinpcs") in getTargetCodeGenInfo()
9318 StringRef ABIStr = getTarget().getABI(); in getTargetCodeGenInfo()
9339 if (getTarget().getABI() == "elfv2") in getTargetCodeGenInfo()
9351 if (getTarget().getABI() == "elfv1" || getTarget().getABI() == "elfv1-qpx") in getTargetCodeGenInfo()
[all …]
H A DCGGPUBuiltin.cpp72 assert(getTarget().getTriple().isNVPTX()); in EmitNVPTXDevicePrintfCallExpr()
H A DCodeGenModule.cpp73 switch (CGM.getTarget().getCXXABI().getKind()) { in createCXXABI()
894 const TargetInfo &Target = CGM.getTarget(); in getCPUSpecificMangling()
906 else if (CGM.getTarget().supportsIFunc()) in AppendCPUSpecificCPUDispatchMangling()
916 const TargetInfo &Target = CGM.getTarget(); in AppendTargetMangling()
2528 const TargetInfo &TI = getTarget(); in emitMultiVersionFunctions()
2568 if (getTarget().supportsIFunc()) in emitCPUDispatchDefinition()
2582 const TargetInfo &Target = getTarget(); in emitCPUDispatchDefinition()
2656 if (getTarget().supportsIFunc()) in GetOrCreateMultiVersionResolver()
2671 if (getTarget().supportsIFunc()) { in GetOrCreateMultiVersionResolver()
2904 if (getTarget().getCXXABI().isMicrosoft() && in GetAddrOfFunction()
[all …]
H A DCGVTables.cpp460 if (CGM.getTarget().getCXXABI().isMicrosoft()) in shouldEmitVTableThunk()
530 bool ABIHasKeyFunctions = CGM.getTarget().getCXXABI().hasKeyFunctions(); in maybeEmitThunk()
865 if (getTarget().getCXXABI().isMicrosoft()) in getVTableLinkage()
914 if (CGM.getTarget().getCXXABI().isMicrosoft()) in isVTableExternal()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineFunction.cpp24 NoSignedZerosFPMath(MF.getTarget().Options.NoSignedZerosFPMath), in AMDGPUMachineFunction()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.cpp49 static_cast<const NVPTXTargetMachine &>(MF.getTarget()).is64Bit(); in emitPrologue()
H A DNVPTXReplaceImageHandles.cpp147 static_cast<const NVPTXTargetMachine &>(MF.getTarget()); in findIndexForHandle()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DCompilerInstance.cpp381 getDiagnostics(), getLangOpts(), &getTarget()); in createPreprocessor()
387 getTarget().adjust(getLangOpts()); in createPreprocessor()
388 PP->Initialize(getTarget(), getAuxTarget()); in createPreprocessor()
481 Context->InitBuiltinTypes(getTarget(), getAuxTarget()); in createASTContext()
919 TO->HostTriple = getTarget().getTriple().str(); in ExecuteAction()
927 getTarget().adjust(getLangOpts()); in ExecuteAction()
930 getTarget().adjustTargetOptions(getCodeGenOpts(), getTargetOpts()); in ExecuteAction()
934 getTarget().noSignedCharForObjCBool(); in ExecuteAction()
1947 if (Preprocessor::checkModuleIsAvailable(getLangOpts(), getTarget(), in loadModule()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonSplitConst32AndConst64.cpp64 auto &HTM = static_cast<const HexagonTargetMachine&>(Fn.getTarget()); in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/lib/MC/MCDisassembler/
H A DDisassembler.h111 const Target *getTarget() const { return TheTarget; } in getTarget() function
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DTarget.cpp50 TargetInfo *elf::getTarget() { in getTarget() function in elf
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMInstrInfo.cpp96 const TargetMachine &TM = MF.getTarget(); in expandLoadStackGuard()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp364 const auto &TM = static_cast<const RISCVTargetMachine &>(MF->getTarget()); in insertIndirectBranch()
445 const auto &TM = static_cast<const RISCVTargetMachine &>(MF.getTarget()); in getInstSizeInBytes()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp86 return (MF.getTarget().Options.DisableFramePointerElim(MF) || in hasFP()
766 bool IsLargeCodeModel = MF.getTarget().getCodeModel() == CodeModel::Large; in emitStackProbeCall()
786 if (Is64Bit && MF.getTarget().getCodeModel() == CodeModel::Large) { in emitStackProbeCall()
980 bool IsWin64Prologue = MF.getTarget().getMCAsmInfo()->usesWindowsCFI(); in emitPrologue()
1509 return !MF.getTarget().getMCAsmInfo()->usesWindowsCFI() || hasFP(MF); in canUseLEAForSPInEpilogue()
1595 bool IsWin64Prologue = MF.getTarget().getMCAsmInfo()->usesWindowsCFI(); in emitEpilogue()
1608 (!MF.getTarget().getTargetTriple().isOSDarwin() && in emitEpilogue()
1609 !MF.getTarget().getTargetTriple().isOSWindows()) && in emitEpilogue()
1774 bool IsWin64Prologue = MF.getTarget().getMCAsmInfo()->usesWindowsCFI(); in getFrameIndexReference()
2439 if (Is64Bit && MF.getTarget().getCodeModel() == CodeModel::Large) { in adjustForSegmentedStacks()
[all …]
/freebsd-12.1/contrib/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp181 const Target *getTarget(const char *ProgName) { in getTarget() function
270 const Target *TheTarget = getTarget(ProgName); in main()

1234567