Home
last modified time | relevance | path

Searched refs:TM (Results 1 – 25 of 890) sorted by relevance

12345678910>>...36

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h39 const TargetMachine *TM = nullptr; variable
45 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
60 const TargetMachine &TM) const override;
63 const TargetMachine &TM) const override;
66 const TargetMachine &TM) const override;
75 const TargetMachine &TM,
81 const TargetMachine &TM,
92 const TargetMachine &TM) const override;
102 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
108 const TargetMachine &TM) const override;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp26 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference() argument
32 const MCSymbol *Sym = TM.getSymbol(GV); in getTTypeGlobalReference()
40 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference()
44 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
46 return TM.getSymbol(GV); in getCFIPersonalitySymbol()
69 const TargetMachine &TM) { in Initialize() argument
70 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
71 InitializeELF(TM.Options.UseInitArray); in Initialize()
76 const TargetMachine &TM) { in Initialize() argument
77 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsTargetObjectFile.cpp45 void MipsTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){ in Initialize() argument
46 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
47 InitializeELF(TM.Options.UseInitArray); in Initialize()
56 this->TM = &static_cast<const MipsTargetMachine &>(TM); in Initialize()
71 const GlobalObject *GO, const TargetMachine &TM) const { in IsGlobalInSmallSection()
76 return IsGlobalInSmallSectionImpl(GO, TM); in IsGlobalInSmallSection()
78 return IsGlobalInSmallSection(GO, TM, getKindForGlobal(GO, TM)); in IsGlobalInSmallSection()
84 IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, in IsGlobalInSmallSection() argument
86 return IsGlobalInSmallSectionImpl(GO, TM) && in IsGlobalInSmallSection()
96 const TargetMachine &TM) const { in IsGlobalInSmallSectionImpl()
[all …]
DMipsSubtarget.cpp71 bool little, const MipsTargetMachine &TM, in MipsSubtarget() argument
85 TM(TM), TargetTriple(TT), TSInfo(), in MipsSubtarget()
87 MipsInstrInfo::create(initializeSubtargetDependencies(CPU, FS, TM))), in MipsSubtarget()
89 TLInfo(MipsTargetLowering::create(TM, *this)) { in MipsSubtarget()
152 if (NoABICalls && TM.isPositionIndependent()) in MipsSubtarget()
155 if (isABI_N64() && !TM.isPositionIndependent() && !hasSym32()) in MipsSubtarget()
217 *static_cast<const MipsTargetMachine *>(&TM), *this, *RBI)); in MipsSubtarget()
221 return TM.isPositionIndependent(); in isPositionIndependent()
239 const TargetMachine &TM) { in initializeSubtargetDependencies() argument
240 std::string CPUName = MIPS_MC::selectMipsCPU(TM.getTargetTriple(), CPU); in initializeSubtargetDependencies()
[all …]
DMipsTargetObjectFile.h19 const MipsTargetMachine *TM; variable
21 bool IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM,
24 const TargetMachine &TM) const;
27 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
32 const TargetMachine &TM) const;
35 const TargetMachine &TM) const override;
39 const TargetMachine &TM) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiTargetObjectFile.cpp29 const TargetMachine &TM) { in Initialize() argument
30 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
31 InitializeELF(TM.Options.UseInitArray); in Initialize()
51 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection()
52 if (GO == nullptr) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSection()
58 return isGlobalInSmallSectionImpl(GO, TM); in isGlobalInSmallSection()
60 return isGlobalInSmallSection(GO, TM, getKindForGlobal(GO, TM)); in isGlobalInSmallSection()
66 const TargetMachine &TM, in isGlobalInSmallSection() argument
68 return isGlobalInSmallSectionImpl(GO, TM); in isGlobalInSmallSection()
75 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSectionImpl()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetObjectFile.cpp31 const TargetMachine &TM) { in Initialize() argument
32 const ARMBaseTargetMachine &ARM_TM = static_cast<const ARMBaseTargetMachine &>(TM); in Initialize()
37 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
57 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference() argument
59 if (TM.getMCAsmInfo()->getExceptionHandlingType() != ExceptionHandling::ARM) in getTTypeGlobalReference()
61 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference()
65 return MCSymbolRefExpr::create(TM.getSymbol(GV), in getTTypeGlobalReference()
76 const TargetMachine &TM) { in isExecuteOnlyFunction() argument
78 if (TM.getSubtarget<ARMSubtarget>(*F).genExecuteOnly() && SK.isText()) in isExecuteOnlyFunction()
84 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal()
[all …]
DARMSubtarget.cpp98 const ARMBaseTargetMachine &TM, bool IsLittle, in ARMSubtarget() argument
102 TargetTriple(TT), Options(TM.Options), TM(TM), in ARMSubtarget()
111 TLInfo(TM, *this) { in ARMSubtarget()
122 *static_cast<const ARMBaseTargetMachine *>(&TM), *this, *RBI)); in ARMSubtarget()
155 assert((!TM.getMCAsmInfo() || in initializeEnvironment()
156 (TM.getMCAsmInfo()->getExceptionHandlingType() == in initializeEnvironment()
324 bool ARMSubtarget::isTargetHardFloat() const { return TM.isTargetHardFloat(); } in isTargetHardFloat()
327 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAPCS_ABI()
328 return TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_APCS; in isAPCS_ABI()
331 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAAPCS_ABI()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPropagateAttributes.cpp68 const TargetMachine *TM; member in __anon1a0ad6920111::AMDGPUPropagateAttributes
97 AMDGPUPropagateAttributes(const TargetMachine *TM, bool AllowClone) : in AMDGPUPropagateAttributes() argument
98 TM(TM), AllowClone(AllowClone) {} in AMDGPUPropagateAttributes()
112 const TargetMachine *TM; member in __anon1a0ad6920111::AMDGPUPropagateAttributesEarly
117 AMDGPUPropagateAttributesEarly(const TargetMachine *TM = nullptr) : in AMDGPUPropagateAttributesEarly() argument
118 FunctionPass(ID), TM(TM) { in AMDGPUPropagateAttributesEarly()
129 const TargetMachine *TM; member in __anon1a0ad6920111::AMDGPUPropagateAttributesLate
134 AMDGPUPropagateAttributesLate(const TargetMachine *TM = nullptr) : in AMDGPUPropagateAttributesLate() argument
135 ModulePass(ID), TM(TM) { in AMDGPUPropagateAttributesLate()
199 TM->getSubtargetImpl(F)->getFeatureBits(); in process()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetLoweringObjectFile.cpp40 const TargetMachine &TM) { in Initialize() argument
45 InitMCObjectFileInfo(TM.getTargetTriple(), TM.isPositionIndependent(), *Ctx, in Initialize()
46 TM.getCodeModel() == CodeModel::Large); in Initialize()
117 const GlobalValue *GV, StringRef Suffix, const TargetMachine &TM) const { in getSymbolWithGlobalValueBase()
122 TM.getNameWithPrefix(NameStr, GV, *Mang); in getSymbolWithGlobalValueBase()
128 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
130 return TM.getSymbol(GV); in getCFIPersonalitySymbol()
144 const TargetMachine &TM){ in getKindForGlobal() argument
157 if (isSuitableForBSS(GVar) && !TM.Options.NoZerosInBSS) in getKindForGlobal()
168 if (isSuitableForBSS(GVar) && !TM.Options.NoZerosInBSS) { in getKindForGlobal()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp113 const TargetMachine &TM) { in Initialize() argument
114 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
115 InitializeELF(TM.Options.UseInitArray); in Initialize()
128 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
146 return selectSectionForLookupTable(GO, TM, Fn); in SelectSectionForGlobal()
149 if (isGlobalInSmallSection(GO, TM)) in SelectSectionForGlobal()
150 return selectSmallSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal()
162 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal()
166 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
189 if (isGlobalInSmallSection(GO, TM)) in getExplicitSectionGlobal()
[all …]
DHexagonTargetObjectFile.h19 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
22 const TargetMachine &TM) const override;
26 const TargetMachine &TM) const override;
29 const TargetMachine &TM) const;
31 bool isSmallDataEnabled(const TargetMachine &TM) const;
45 const TargetMachine &TM) const;
49 const TargetMachine &TM) const;
52 const TargetMachine &TM,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h75 virtual void Initialize(MCContext &ctx, const TargetMachine &TM);
77 virtual void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &TM,
96 const TargetMachine &TM);
102 const TargetMachine &TM) const;
108 const TargetMachine &TM) const { in SectionForGlobal() argument
109 return SectionForGlobal(GO, getKindForGlobal(GO, TM), TM); in SectionForGlobal()
114 const TargetMachine &TM) const;
117 const TargetMachine &TM) const;
127 const TargetMachine &TM) const = 0;
133 const TargetMachine &TM,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DCompileUtils.h44 SimpleCompiler(TargetMachine &TM, ObjectCache *ObjCache = nullptr)
45 : IRCompiler(irManglingOptionsFromTargetOptions(TM.Options)), TM(TM),
56 manglingOptionsForTargetMachine(const TargetMachine &TM);
61 TargetMachine &TM; variable
71 TMOwningSimpleCompiler(std::unique_ptr<TargetMachine> TM,
73 : SimpleCompiler(*TM, ObjCache), TM(std::move(TM)) {}
78 std::shared_ptr<llvm::TargetMachine> TM;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp97 TM = &TgtM; in Initialize()
334 return TM->getSymbol(F); in emitModuleMetadata()
356 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
361 TM.getSymbol(GV)->getName()); in getCFIPersonalitySymbol()
363 return TM.getSymbol(GV); in getCFIPersonalitySymbol()
390 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference() argument
395 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", TM); in getTTypeGlobalReference()
401 MCSymbol *Sym = TM.getSymbol(GV); in getTTypeGlobalReference()
410 return TargetLoweringObjectFile::getTTypeGlobalReference(GV, Encoding, TM, in getTTypeGlobalReference()
516 const TargetMachine &TM) { in getAssociatedSymbol() argument
[all …]
DMachineModuleInfo.cpp224 : TM(std::move(MMI.TM)), in MachineModuleInfo()
225 Context(MMI.TM.getMCAsmInfo(), MMI.TM.getMCRegisterInfo(), in MachineModuleInfo()
226 MMI.TM.getObjFileLowering(), nullptr, nullptr, false) { in MachineModuleInfo()
237 MachineModuleInfo::MachineModuleInfo(const LLVMTargetMachine *TM) in MachineModuleInfo() argument
238 : TM(*TM), Context(TM->getMCAsmInfo(), TM->getMCRegisterInfo(), in MachineModuleInfo()
239 TM->getObjFileLowering(), nullptr, nullptr, false) { in MachineModuleInfo()
294 const TargetSubtargetInfo &STI = *TM.getSubtargetImpl(F); in getOrCreateMachineFunction()
295 MF = new MachineFunction(F, TM, STI, NextFnNum++, *this); in getOrCreateMachineFunction()
348 const LLVMTargetMachine *TM) in MachineModuleInfoWrapperPass() argument
349 : ImmutablePass(ID), MMI(TM) { in MachineModuleInfoWrapperPass()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DWholeProgramDevirt.h120 VirtualCallTarget(Function *Fn, const TypeMemberInfo *TM);
123 VirtualCallTarget(const TypeMemberInfo *TM, bool IsBigEndian) in VirtualCallTarget()
124 : Fn(nullptr), TM(TM), IsBigEndian(IsBigEndian), WasDevirt(false) {} in VirtualCallTarget()
131 const TypeMemberInfo *TM; member
147 uint64_t minBeforeBytes() const { return TM->Offset; } in minBeforeBytes()
154 uint64_t minAfterBytes() const { return TM->Bits->ObjectSize - TM->Offset; } in minAfterBytes()
159 return minBeforeBytes() + TM->Bits->Before.Bytes.size(); in allocatedBeforeBytes()
165 return minAfterBytes() + TM->Bits->After.Bytes.size(); in allocatedAfterBytes()
171 TM->Bits->Before.setBit(Pos - 8 * minBeforeBytes(), RetVal); in setBeforeBit()
177 TM->Bits->After.setBit(Pos - 8 * minAfterBytes(), RetVal); in setAfterBit()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp365 AArch64PassConfig(AArch64TargetMachine &TM, PassManagerBase &PM) in AArch64PassConfig() argument
366 : TargetPassConfig(TM, PM) { in AArch64PassConfig()
367 if (TM.getOptLevel() != CodeGenOpt::None) in AArch64PassConfig()
430 return getStandardCSEConfigForOpt(TM->getOptLevel()); in getCSEConfig()
441 if (TM->getOptLevel() != CodeGenOpt::None && EnableAtomicTidy) in addIRPasses()
448 if (TM->getOptLevel() != CodeGenOpt::None) { in addIRPasses()
458 if (TM->getOptLevel() != CodeGenOpt::None) { in addIRPasses()
463 if (TM->getOptLevel() == CodeGenOpt::Aggressive && EnableGEPOpt) { in addIRPasses()
476 addPass(createAArch64StackTaggingPass(/* MergeInit = */ TM->getOptLevel() != in addIRPasses()
480 if (TM->getTargetTriple().isOSWindows()) in addIRPasses()
[all …]
DAArch64TargetObjectFile.cpp21 const TargetMachine &TM) { in Initialize() argument
22 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
23 InitializeELF(TM.Options.UseInitArray); in Initialize()
35 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference() argument
42 const MCSymbol *Sym = TM.getSymbol(GV); in getTTypeGlobalReference()
52 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference()
56 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
58 return TM.getSymbol(GV); in getCFIPersonalitySymbol()
78 const TargetMachine &TM) const { in getNameWithPrefix()
DAArch64Subtarget.cpp168 const TargetMachine &TM, bool LittleEndian) in AArch64Subtarget() argument
175 TLInfo(TM, *this) { in AArch64Subtarget()
188 *static_cast<const AArch64TargetMachine *>(&TM), *this, *RBI)); in AArch64Subtarget()
213 const TargetMachine &TM) const { in ClassifyGlobalReference()
216 if (TM.getCodeModel() == CodeModel::Large && isTargetMachO()) in ClassifyGlobalReference()
219 if (!TM.shouldAssumeDSOLocal(*GV->getParent(), GV)) { in ClassifyGlobalReference()
230 if ((useSmallAddressing() || TM.getCodeModel() == CodeModel::Tiny) && in ClassifyGlobalReference()
245 const GlobalValue *GV, const TargetMachine &TM) const { in classifyGlobalFunctionReference()
248 if (TM.getCodeModel() == CodeModel::Large && isTargetMachO() && in classifyGlobalFunctionReference()
255 !TM.shouldAssumeDSOLocal(*GV->getParent(), GV)) in classifyGlobalFunctionReference()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOBackend.cpp156 static void runNewPMPasses(const Config &Conf, Module &Mod, TargetMachine *TM, in runNewPMPasses() argument
175 PassBuilder PB(TM, Conf.PTO, PGOOpt, &PIC); in runNewPMPasses()
229 static void runNewPMCustomPasses(Module &Mod, TargetMachine *TM, in runNewPMCustomPasses() argument
233 PassBuilder PB(TM); in runNewPMCustomPasses()
272 static void runOldPMPasses(const Config &Conf, Module &Mod, TargetMachine *TM, in runOldPMPasses() argument
276 passes.add(createTargetTransformInfoWrapperPass(TM->getTargetIRAnalysis())); in runOldPMPasses()
279 PMB.LibraryInfo = new TargetLibraryInfoImpl(Triple(TM->getTargetTriple())); in runOldPMPasses()
303 bool opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod, in opt() argument
308 runNewPMCustomPasses(Mod, TM, Conf.OptPipeline, Conf.AAPipeline, in opt()
311 runNewPMPasses(Conf, Mod, TM, Conf.OptLevel, IsThinLTO, ExportSummary, in opt()
[all …]
DUpdateCompilerUsed.cpp29 const TargetMachine &TM, in PreserveLibCallsAndAsmUsed() argument
31 : AsmUndefinedRefs(AsmUndefinedRefs), TM(TM), LLVMUsed(LLVMUsed) {} in PreserveLibCallsAndAsmUsed()
46 const TargetMachine &TM; member in __anon11eebd540111::PreserveLibCallsAndAsmUsed
59 TargetLibraryInfoImpl TLII(Triple(TM.getTargetTriple())); in initializeLibCalls()
75 TM.getSubtargetImpl(F)->getTargetLowering(); in initializeLibCalls()
114 TM.getNameWithPrefix(Buffer, &GV, Mangler); in findLibCallsAndAsm()
122 void llvm::updateCompilerUsed(Module &TheModule, const TargetMachine &TM, in updateCompilerUsed() argument
125 PreserveLibCallsAndAsmUsed(AsmUndefinedRefs, TM, UsedValues) in updateCompilerUsed()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcTargetObjectFile.cpp18 const TargetMachine &TM) { in Initialize() argument
19 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
20 InitializeELF(TM.Options.UseInitArray); in Initialize()
24 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference() argument
30 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", TM); in getTTypeGlobalReference()
36 MCSymbol *Sym = TM.getSymbol(GV); in getTTypeGlobalReference()
45 return TargetLoweringObjectFileELF::getTTypeGlobalReference(GV, Encoding, TM, in getTTypeGlobalReference()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp125 NVPTXLowerArgs(const NVPTXTargetMachine *TM = nullptr) in NVPTXLowerArgs() argument
126 : FunctionPass(ID), TM(TM) {} in NVPTXLowerArgs()
132 const NVPTXTargetMachine *TM; member in __anonb00246e20111::NVPTXLowerArgs
209 if (TM && TM->getDrvInterface() == NVPTX::CUDA) { in runOnKernelFunction()
233 else if (TM && TM->getDrvInterface() == NVPTX::CUDA) in runOnKernelFunction()
253 llvm::createNVPTXLowerArgsPass(const NVPTXTargetMachine *TM) { in createNVPTXLowerArgsPass() argument
254 return new NVPTXLowerArgs(TM); in createNVPTXLowerArgsPass()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVTargetObjectFile.cpp18 const TargetMachine &TM) { in Initialize() argument
19 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
20 InitializeELF(TM.Options.UseInitArray); in Initialize()
40 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection()
76 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
78 if (Kind.isBSS() && isGlobalInSmallSection(GO, TM)) in SelectSectionForGlobal()
80 if (Kind.isData() && isGlobalInSmallSection(GO, TM)) in SelectSectionForGlobal()
84 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal()

12345678910>>...36