Home
last modified time | relevance | path

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

123456789

/external/llvm/include/llvm/Support/
DCodeGenCWrappers.h25 inline CodeModel::Model unwrap(LLVMCodeModel Model) { in unwrap()
28 return CodeModel::Default; in unwrap()
30 return CodeModel::JITDefault; in unwrap()
32 return CodeModel::Small; in unwrap()
34 return CodeModel::Kernel; in unwrap()
36 return CodeModel::Medium; in unwrap()
38 return CodeModel::Large; in unwrap()
40 return CodeModel::Default; in unwrap()
43 inline LLVMCodeModel wrap(CodeModel::Model Model) { in wrap()
45 case CodeModel::Default: in wrap()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DCodeGenCWrappers.h25 inline Optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { in unwrap()
34 return CodeModel::Tiny; in unwrap()
36 return CodeModel::Small; in unwrap()
38 return CodeModel::Kernel; in unwrap()
40 return CodeModel::Medium; in unwrap()
42 return CodeModel::Large; in unwrap()
44 return CodeModel::Small; in unwrap()
47 inline LLVMCodeModel wrap(CodeModel::Model Model) { in wrap()
49 case CodeModel::Tiny: in wrap()
51 case CodeModel::Small: in wrap()
[all …]
DTargetMachine.h89 CodeModel::Model CMModel = CodeModel::Small;
209 CodeModel::Model getCodeModel() const;
319 CodeModel::Model CM, CodeGenOpt::Level OL);
381 inline CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM, in getEffectiveCodeModel()
382 CodeModel::Model Default) { in getEffectiveCodeModel()
385 if (*CM == CodeModel::Tiny) in getEffectiveCodeModel()
387 if (*CM == CodeModel::Kernel) in getEffectiveCodeModel()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCTargetDesc.cpp84 CodeModel::Model &CM) { in adjustCodeGenOpts()
89 case CodeModel::Default: in adjustCodeGenOpts()
90 case CodeModel::JITDefault: CM = CodeModel::Small; break; in adjustCodeGenOpts()
95 CodeModel::Model &CM) { in adjustCodeGenOptsV9()
100 case CodeModel::Default: in adjustCodeGenOptsV9()
101 CM = RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in adjustCodeGenOptsV9()
103 case CodeModel::JITDefault: in adjustCodeGenOptsV9()
104 CM = CodeModel::Large; in adjustCodeGenOptsV9()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
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 …]
DSparcTargetMachine.h30 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
51 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
62 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
72 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
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()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCTargetDesc.cpp75 CodeModel::Model &CM) { in adjustCodeGenOpts()
79 if (CM == CodeModel::Default) in adjustCodeGenOpts()
80 CM = CodeModel::Small; in adjustCodeGenOpts()
84 else if (CM == CodeModel::JITDefault) in adjustCodeGenOpts()
85 CM = CodeModel::Large; in adjustCodeGenOpts()
86 else if (CM != CodeModel::Small && CM != CodeModel::Large) in adjustCodeGenOpts()
/external/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyMCTargetDesc.cpp43 CodeModel::Model &CM) { in adjustCodeGenOpts()
44 CodeModel::Model M = (CM == CodeModel::Default || CM == CodeModel::JITDefault) in adjustCodeGenOpts()
45 ? CodeModel::Large in adjustCodeGenOpts()
47 if (M != CodeModel::Large) in adjustCodeGenOpts()
/external/llvm/lib/Target/ARM/
DARMTargetMachine.h42 Optional<Reloc::Model> RM, CodeModel::Model CM,
68 Optional<Reloc::Model> RM, CodeModel::Model CM,
79 Optional<Reloc::Model> RM, CodeModel::Model CM,
90 Optional<Reloc::Model> RM, CodeModel::Model CM,
103 Optional<Reloc::Model> RM, CodeModel::Model CM,
114 Optional<Reloc::Model> RM, CodeModel::Model CM,
125 Optional<Reloc::Model> RM, CodeModel::Model CM,
/external/llvm/bindings/go/llvm/
Dtarget.go40 CodeModel C.LLVMCodeModel type
63 CodeModelDefault CodeModel = C.LLVMCodeModelDefault
64 CodeModelJITDefault CodeModel = C.LLVMCodeModelJITDefault
65 CodeModelSmall CodeModel = C.LLVMCodeModelSmall
66 CodeModelKernel CodeModel = C.LLVMCodeModelKernel
67 CodeModelMedium CodeModel = C.LLVMCodeModelMedium
68 CodeModelLarge CodeModel = C.LLVMCodeModelLarge
243 CodeModel CodeModel) (tm TargetMachine) {
253 C.LLVMCodeModel(CodeModel))
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp233 static CodeModel::Model
234 getEffectiveAArch64CodeModel(const Triple &TT, Optional<CodeModel::Model> CM, in getEffectiveAArch64CodeModel()
237 if (*CM != CodeModel::Small && *CM != CodeModel::Tiny && in getEffectiveAArch64CodeModel()
238 *CM != CodeModel::Large) { in getEffectiveAArch64CodeModel()
242 else if (*CM != CodeModel::Kernel) in getEffectiveAArch64CodeModel()
245 } else if (*CM == CodeModel::Tiny && !TT.isOSBinFormatELF()) in getEffectiveAArch64CodeModel()
256 return CodeModel::Large; in getEffectiveAArch64CodeModel()
257 return CodeModel::Small; in getEffectiveAArch64CodeModel()
266 Optional<CodeModel::Model> CM, in AArch64TargetMachine()
293 if ((getCodeModel() == CodeModel::Small || in AArch64TargetMachine()
[all …]
DAArch64TargetMachine.h33 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
64 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
76 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
/external/llvm/lib/Target/XCore/MCTargetDesc/
DXCoreMCTargetDesc.cpp65 CodeModel::Model &CM) { in adjustCodeGenOpts()
66 if (CM == CodeModel::Default) { in adjustCodeGenOpts()
67 CM = CodeModel::Small; in adjustCodeGenOpts()
69 if (CM != CodeModel::Small && CM != CodeModel::Large) in adjustCodeGenOpts()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiTargetMachine.cpp60 Optional<CodeModel::Model> CodeModel, in LanaiTargetMachine() argument
64 getEffectiveCodeModel(CodeModel, CodeModel::Medium), in LanaiTargetMachine()
/external/llvm/lib/Target/Lanai/
DLanaiTargetMachine.cpp60 CodeModel::Model CodeModel, in LanaiTargetMachine() argument
64 CodeModel, OptLevel), in LanaiTargetMachine()
65 Subtarget(TT, Cpu, FeatureString, *this, Options, CodeModel, OptLevel), in LanaiTargetMachine()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
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()
157 if (TM.getCodeModel() == CodeModel::Large) in classifyGlobalReference()
/external/llvm/lib/Target/Sparc/
DSparcTargetMachine.h31 Optional<Reloc::Model> RM, CodeModel::Model CM,
52 Optional<Reloc::Model> RM, CodeModel::Model CM,
63 Optional<Reloc::Model> RM, CodeModel::Model CM,
73 Optional<Reloc::Model> RM, CodeModel::Model CM,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp241 static CodeModel::Model getEffectivePPCCodeModel(const Triple &TT, in getEffectivePPCCodeModel()
242 Optional<CodeModel::Model> CM, in getEffectivePPCCodeModel()
245 if (*CM == CodeModel::Tiny) in getEffectivePPCCodeModel()
247 if (*CM == CodeModel::Kernel) in getEffectivePPCCodeModel()
253 return CodeModel::Small; in getEffectivePPCCodeModel()
255 return CodeModel::Small; in getEffectivePPCCodeModel()
260 return CodeModel::Small; in getEffectivePPCCodeModel()
263 return CodeModel::Medium; in getEffectivePPCCodeModel()
297 Optional<CodeModel::Model> CM, in PPCTargetMachine()
/external/llvm/lib/Target/AArch64/
DAArch64TargetMachine.h32 Optional<Reloc::Model> RM, CodeModel::Model CM,
59 Optional<Reloc::Model> RM, CodeModel::Model CM,
70 Optional<Reloc::Model> RM, CodeModel::Model CM,
/external/llvm/include/llvm/CodeGen/
DCommandFlags.h77 cl::opt<llvm::CodeModel::Model>
80 cl::init(CodeModel::Default),
81 cl::values(clEnumValN(CodeModel::Default, "default",
83 clEnumValN(CodeModel::Small, "small",
85 clEnumValN(CodeModel::Kernel, "kernel",
87 clEnumValN(CodeModel::Medium, "medium",
89 clEnumValN(CodeModel::Large, "large",
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.h39 Optional<Reloc::Model> RM, CodeModel::Model CM,
68 Optional<Reloc::Model> RM, CodeModel::Model CM,
79 Optional<Reloc::Model> RM, CodeModel::Model CM,
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetMachine.h39 Optional<Reloc::Model> RM, CodeModel::Model CM,
74 Optional<Reloc::Model> RM, CodeModel::Model CM,
83 Optional<Reloc::Model> RM, CodeModel::Model CM,
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCTargetDesc.cpp162 CodeModel::Model &CM) { in adjustCodeGenOpts()
192 if (CM == CodeModel::Default) in adjustCodeGenOpts()
193 CM = CodeModel::Small; in adjustCodeGenOpts()
194 else if (CM == CodeModel::JITDefault) in adjustCodeGenOpts()
195 CM = RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in adjustCodeGenOpts()

123456789