Home
last modified time | relevance | path

Searched refs:CodeModel (Results 1 – 25 of 106) sorted by relevance

12345

/freebsd-12.1/contrib/llvm/include/llvm/Target/
H A DCodeGenCWrappers.h35 return CodeModel::Tiny; in unwrap()
37 return CodeModel::Small; in unwrap()
39 return CodeModel::Kernel; in unwrap()
41 return CodeModel::Medium; in unwrap()
43 return CodeModel::Large; in unwrap()
45 return CodeModel::Small; in unwrap()
50 case CodeModel::Tiny: in wrap()
52 case CodeModel::Small: in wrap()
54 case CodeModel::Kernel: in wrap()
56 case CodeModel::Medium: in wrap()
[all …]
H A DTargetMachine.h83 CodeModel::Model CMModel = CodeModel::Small;
182 CodeModel::Model getCodeModel() const;
300 CodeModel::Model CM, CodeGenOpt::Level OL);
361 inline CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM, in getEffectiveCodeModel()
362 CodeModel::Model Default) { in getEffectiveCodeModel()
365 if (*CM == CodeModel::Tiny) in getEffectiveCodeModel()
367 if (*CM == CodeModel::Kernel) in getEffectiveCodeModel()
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp73 static CodeModel::Model
74 getEffectiveSparcCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSparcCodeModel()
77 if (*CM == CodeModel::Tiny) in getEffectiveSparcCodeModel()
79 if (*CM == CodeModel::Kernel) in getEffectiveSparcCodeModel()
85 return CodeModel::Large; in getEffectiveSparcCodeModel()
86 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in getEffectiveSparcCodeModel()
88 return CodeModel::Small; in getEffectiveSparcCodeModel()
95 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT, bool is64bit) in SparcTargetMachine()
196 Optional<CodeModel::Model> CM, in SparcV8TargetMachine()
206 Optional<CodeModel::Model> CM, in SparcV9TargetMachine()
[all …]
H A DSparcTargetMachine.h31 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
52 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
63 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
73 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetMachine.cpp131 static CodeModel::Model
132 getEffectiveSystemZCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSystemZCodeModel()
135 if (*CM == CodeModel::Tiny) in getEffectiveSystemZCodeModel()
137 if (*CM == CodeModel::Kernel) in getEffectiveSystemZCodeModel()
142 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in getEffectiveSystemZCodeModel()
143 return CodeModel::Small; in getEffectiveSystemZCodeModel()
150 Optional<CodeModel::Model> CM, in SystemZTargetMachine()
H A DSystemZSubtarget.cpp68 CodeModel::Model CM) const { in isPC32DBLSymbol()
75 if (CM == CodeModel::Small) in isPC32DBLSymbol()
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreTargetMachine.cpp34 static CodeModel::Model
35 getEffectiveXCoreCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveXCoreCodeModel()
37 if (*CM != CodeModel::Small && *CM != CodeModel::Large) in getEffectiveXCoreCodeModel()
41 return CodeModel::Small; in getEffectiveXCoreCodeModel()
50 Optional<CodeModel::Model> CM, in XCoreTargetMachine()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.cpp223 static CodeModel::Model
224 getEffectiveAArch64CodeModel(const Triple &TT, Optional<CodeModel::Model> CM, in getEffectiveAArch64CodeModel()
227 if (*CM != CodeModel::Small && *CM != CodeModel::Tiny && in getEffectiveAArch64CodeModel()
228 *CM != CodeModel::Large) { in getEffectiveAArch64CodeModel()
232 else if (*CM != CodeModel::Kernel) in getEffectiveAArch64CodeModel()
235 } else if (*CM == CodeModel::Tiny && !TT.isOSBinFormatELF()) in getEffectiveAArch64CodeModel()
243 return CodeModel::Large; in getEffectiveAArch64CodeModel()
244 return CodeModel::Small; in getEffectiveAArch64CodeModel()
253 Optional<CodeModel::Model> CM, in AArch64TargetMachine()
322 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) in AArch64leTargetMachine()
[all …]
H A DAArch64TargetMachine.h34 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
65 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
77 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86Subtarget.cpp80 case CodeModel::Tiny: in classifyLocalReference()
82 case CodeModel::Small: in classifyLocalReference()
83 case CodeModel::Kernel: in classifyLocalReference()
87 case CodeModel::Large: in classifyLocalReference()
91 case CodeModel::Medium: in classifyLocalReference()
125 if (TM.getCodeModel() == CodeModel::Large && !isPositionIndependent()) in classifyGlobalReference()
154 if (TM.getCodeModel() == CodeModel::Large) in classifyGlobalReference()
H A DX86TargetMachine.cpp194 static CodeModel::Model getEffectiveX86CodeModel(Optional<CodeModel::Model> CM, in getEffectiveX86CodeModel()
197 if (*CM == CodeModel::Tiny) in getEffectiveX86CodeModel()
202 return Is64Bit ? CodeModel::Large : CodeModel::Small; in getEffectiveX86CodeModel()
203 return CodeModel::Small; in getEffectiveX86CodeModel()
212 Optional<CodeModel::Model> CM, in X86TargetMachine()
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiTargetMachine.cpp60 Optional<CodeModel::Model> CodeModel, in LanaiTargetMachine() argument
64 getEffectiveCodeModel(CodeModel, CodeModel::Medium), in LanaiTargetMachine()
H A DLanaiTargetObjectFile.cpp53 if (GO == nullptr) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSection()
80 if (!GVA) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSectionImpl()
88 if (TM.getCodeModel() == CodeModel::Small) in isGlobalInSmallSectionImpl()
H A DLanaiTargetMachine.h37 Optional<CodeModel::Model> CodeModel,
H A DLanaiSubtarget.h37 const TargetOptions &Options, CodeModel::Model CodeModel,
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetMachine.cpp225 static CodeModel::Model getEffectivePPCCodeModel(const Triple &TT, in getEffectivePPCCodeModel()
226 Optional<CodeModel::Model> CM, in getEffectivePPCCodeModel()
229 if (*CM == CodeModel::Tiny) in getEffectivePPCCodeModel()
231 if (*CM == CodeModel::Kernel) in getEffectivePPCCodeModel()
237 return CodeModel::Medium; in getEffectivePPCCodeModel()
238 return CodeModel::Small; in getEffectivePPCCodeModel()
249 Optional<CodeModel::Model> CM, in PPCTargetMachine()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsTargetMachine.h43 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
83 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
95 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
H A DMipsTargetMachine.cpp114 Optional<CodeModel::Model> CM, in MipsTargetMachine()
119 getEffectiveCodeModel(CM, CodeModel::Small), OL), in MipsTargetMachine()
140 Optional<CodeModel::Model> CM, in MipsebTargetMachine()
150 Optional<CodeModel::Model> CM, in MipselTargetMachine()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXTargetMachine.h41 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
81 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
90 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
H A DNVPTXTargetMachine.cpp111 Optional<CodeModel::Model> CM, in NVPTXTargetMachine()
117 getEffectiveCodeModel(CM, CodeModel::Small), OL), in NVPTXTargetMachine()
138 Optional<CodeModel::Model> CM, in NVPTXTargetMachine32()
148 Optional<CodeModel::Model> CM, in NVPTXTargetMachine64()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMTargetMachine.h45 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
82 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
92 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.h47 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
78 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
104 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/freebsd-12.1/contrib/llvm/lib/LTO/
H A DLTOBackend.cpp141 Optional<CodeModel::Model> CodeModel; in createTargetMachine() local
142 if (Conf.CodeModel) in createTargetMachine()
143 CodeModel = *Conf.CodeModel; in createTargetMachine()
145 CodeModel = M.getCodeModel(); in createTargetMachine()
149 CodeModel, Conf.CGOptLevel)); in createTargetMachine()
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/
H A DMSP430TargetMachine.cpp44 Optional<CodeModel::Model> CM, in MSP430TargetMachine()
48 getEffectiveCodeModel(CM, CodeModel::Small), OL), in MSP430TargetMachine()
/freebsd-12.1/contrib/llvm/lib/Target/ARC/
H A DARCTargetMachine.cpp34 Optional<CodeModel::Model> CM, in ARCTargetMachine()
40 getEffectiveCodeModel(CM, CodeModel::Small), OL), in ARCTargetMachine()

12345