Home
last modified time | relevance | path

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

12345678910>>...54

/external/llvm/lib/Target/Mips/
DMipsTargetObjectFile.cpp39 void MipsTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){ in Initialize() argument
40 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
41 InitializeELF(TM.Options.UseInitArray); in Initialize()
50 this->TM = &static_cast<const MipsTargetMachine &>(TM); in Initialize()
65 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM) const { in IsGlobalInSmallSection()
70 return IsGlobalInSmallSectionImpl(GV, TM); in IsGlobalInSmallSection()
72 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); in IsGlobalInSmallSection()
78 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() argument
80 return (IsGlobalInSmallSectionImpl(GV, TM) && in IsGlobalInSmallSection()
89 const TargetMachine &TM) const { in IsGlobalInSmallSectionImpl()
[all …]
/external/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 …]
/external/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 …]
/external/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 …]
/external/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 …]
/external/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 …]
/external/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp141 static void initReciprocals(AArch64TargetMachine& TM, AArch64Subtarget& ST) in initReciprocals() argument
152 TM.Options.Reciprocals.setDefaults("sqrtf", UseRsqrt, ExtraStepsF); in initReciprocals()
153 TM.Options.Reciprocals.setDefaults("sqrtd", UseRsqrt, ExtraStepsD); in initReciprocals()
154 TM.Options.Reciprocals.setDefaults("vec-sqrtf", UseRsqrt, ExtraStepsF); in initReciprocals()
155 TM.Options.Reciprocals.setDefaults("vec-sqrtd", UseRsqrt, ExtraStepsD); in initReciprocals()
157 TM.Options.Reciprocals.setDefaults("divf", false, ExtraStepsF); in initReciprocals()
158 TM.Options.Reciprocals.setDefaults("divd", false, ExtraStepsD); in initReciprocals()
159 TM.Options.Reciprocals.setDefaults("vec-divf", false, ExtraStepsF); in initReciprocals()
160 TM.Options.Reciprocals.setDefaults("vec-divd", false, ExtraStepsD); in initReciprocals()
264 AArch64PassConfig(AArch64TargetMachine *TM, PassManagerBase &PM) in AArch64PassConfig() argument
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiTargetObjectFile.cpp30 const TargetMachine &TM) { in Initialize() argument
31 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
32 InitializeELF(TM.Options.UseInitArray); in Initialize()
52 const GlobalValue *GV, const TargetMachine &TM) const { in isGlobalInSmallSection()
57 return isGlobalInSmallSectionImpl(GV, TM); in isGlobalInSmallSection()
59 return isGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); in isGlobalInSmallSection()
65 const TargetMachine &TM, in isGlobalInSmallSection() argument
67 return (isGlobalInSmallSectionImpl(GV, TM) && in isGlobalInSmallSection()
75 const GlobalValue *GV, const TargetMachine &TM) const { in isGlobalInSmallSectionImpl()
96 const TargetMachine &TM) const { in SelectSectionForGlobal()
[all …]
/external/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h47 void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &TM,
58 const TargetMachine &TM) const override;
62 const TargetMachine &TM) const override;
65 const TargetMachine &TM) const override;
74 Mangler &Mang, const TargetMachine &TM,
80 const TargetMachine &TM,
91 const TargetMachine &TM) const override;
104 Mangler &Mang, const TargetMachine &TM) const override;
108 const TargetMachine &TM) const override;
112 const TargetMachine &TM) const override;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPropagateAttributes.cpp68 const TargetMachine *TM; member in __anon16ddc2440111::AMDGPUPropagateAttributes
97 AMDGPUPropagateAttributes(const TargetMachine *TM, bool AllowClone) : in AMDGPUPropagateAttributes() argument
98 TM(TM), AllowClone(AllowClone) {} in AMDGPUPropagateAttributes()
112 const TargetMachine *TM; member in __anon16ddc2440111::AMDGPUPropagateAttributesEarly
117 AMDGPUPropagateAttributesEarly(const TargetMachine *TM = nullptr) : in AMDGPUPropagateAttributesEarly() argument
118 FunctionPass(ID), TM(TM) { in AMDGPUPropagateAttributesEarly()
129 const TargetMachine *TM; member in __anon16ddc2440111::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 …]
/external/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h60 virtual void Initialize(MCContext &ctx, const TargetMachine &TM);
62 virtual void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &TM,
68 Mangler &Mang, const TargetMachine &TM) const {} in emitModuleFlags() argument
80 const TargetMachine &TM);
86 Mangler &Mang, const TargetMachine &TM) const;
92 const TargetMachine &TM) const { in SectionForGlobal() argument
93 return SectionForGlobal(GV, getKindForGlobal(GV, TM), Mang, TM); in SectionForGlobal()
98 const TargetMachine &TM) const;
101 const TargetMachine &TM) const;
111 Mangler &Mang, const TargetMachine &TM) const = 0;
[all …]
/external/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 …]
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp44 const TargetMachine &TM) { in Initialize() argument
46 InitMCObjectFileInfo(TM.getTargetTriple(), TM.isPositionIndependent(), in Initialize()
47 TM.getCodeModel(), *Ctx); in Initialize()
105 const TargetMachine &TM) const { in getSymbolWithGlobalValueBase()
110 TM.getNameWithPrefix(NameStr, GV, Mang); in getSymbolWithGlobalValueBase()
116 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
118 return TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol()
133 const TargetMachine &TM){ in getKindForGlobal() argument
137 Reloc::Model ReloModel = TM.getRelocationModel(); in getKindForGlobal()
146 if (isSuitableForBSS(GVar, TM.Options.NoZerosInBSS)) in getKindForGlobal()
[all …]
/external/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,
/external/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 …]
/external/llvm/lib/Target/ARM/
DARMSubtarget.cpp90 const ARMBaseTargetMachine &TM, bool IsLittle) in ARMSubtarget() argument
92 CPUString(CPU), IsLittle(IsLittle), TargetTriple(TT), Options(TM.Options), in ARMSubtarget()
93 TM(TM), FrameLowering(initializeFrameLowering(CPU, FS)), in ARMSubtarget()
101 TLInfo(TM, *this) {} in ARMSubtarget()
108 assert((!TM.getMCAsmInfo() || in initializeEnvironment()
109 (TM.getMCAsmInfo()->getExceptionHandlingType() == in initializeEnvironment()
251 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAPCS_ABI()
252 return TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_APCS; in isAPCS_ABI()
255 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAAPCS_ABI()
256 return TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_AAPCS || in isAAPCS_ABI()
[all …]
/external/llvm/include/llvm/Transforms/IPO/
DWholeProgramDevirt.h117 VirtualCallTarget(Function *Fn, const TypeMemberInfo *TM);
120 VirtualCallTarget(const TypeMemberInfo *TM, bool IsBigEndian) in VirtualCallTarget()
121 : Fn(nullptr), TM(TM), IsBigEndian(IsBigEndian) {} in VirtualCallTarget()
128 const TypeMemberInfo *TM; member
141 uint64_t minBeforeBytes() const { return TM->Offset; } in minBeforeBytes()
148 uint64_t minAfterBytes() const { return TM->Bits->ObjectSize - TM->Offset; } in minAfterBytes()
153 return minBeforeBytes() + TM->Bits->Before.Bytes.size(); in allocatedBeforeBytes()
159 return minAfterBytes() + TM->Bits->After.Bytes.size(); in allocatedAfterBytes()
165 TM->Bits->Before.setBit(Pos - 8 * minBeforeBytes(), RetVal); in setBeforeBit()
171 TM->Bits->After.setBit(Pos - 8 * minAfterBytes(), RetVal); in setAfterBit()
[all …]
/external/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;
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp53 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
58 TM.getSymbol(GV, Mang)->getName()); in getCFIPersonalitySymbol()
60 return TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol()
88 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
94 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", Mang, TM); in getTTypeGlobalReference()
100 MCSymbol *Sym = TM.getSymbol(GV, Mang); in getTTypeGlobalReference()
110 getTTypeGlobalReference(GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
209 const TargetMachine &TM) const { in getExplicitSectionGlobal()
248 const TargetMachine &TM, bool EmitUniqueSection, in selectELFSectionForGlobal() argument
279 bool UniqueSectionNames = TM.getUniqueSectionNames(); in selectELFSectionForGlobal()
[all …]
/external/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 …]
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp89 const TargetMachine &TM) { in Initialize() argument
90 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
91 InitializeELF(TM.Options.UseInitArray); in Initialize()
106 const TargetMachine &TM) const { in SelectSectionForGlobal()
120 if (isGlobalInSmallSection(GV, TM)) in SelectSectionForGlobal()
121 return selectSmallSectionForGlobal(GV, Kind, Mang, TM); in SelectSectionForGlobal()
134 Mang, TM); in SelectSectionForGlobal()
140 const TargetMachine &TM) const { in getExplicitSectionGlobal()
163 if (isGlobalInSmallSection(GV, TM)) in getExplicitSectionGlobal()
164 return selectSmallSectionForGlobal(GV, Kind, Mang, TM); in getExplicitSectionGlobal()
[all …]
/external/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 …]
/external/strace/linux/64/
Dsyscallent.h1 [ 0] = { 2, TM, SEN(io_setup), "io_setup" },
2 [ 1] = { 1, TM, SEN(io_destroy), "io_destroy" },
197 [196] = { 3, TI|TM|SI, SEN(shmat), "shmat" },
198 [197] = { 1, TI|TM|SI, SEN(shmdt), "shmdt" },
215 [214] = { 1, TM|SI, SEN(brk), "brk" },
216 [215] = { 2, TM|SI, SEN(munmap), "munmap" },
217 [216] = { 5, TM|SI, SEN(mremap), "mremap" },
223 [222] = { 6, TD|TM|SI, SEN(mmap), "mmap" },
227 [226] = { 3, TM|SI, SEN(mprotect), "mprotect" },
228 [227] = { 3, TM, SEN(msync), "msync" },
[all …]

12345678910>>...54