Home
last modified time | relevance | path

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

1234

/external/llvm/include/llvm/Support/
DCodeGen.h29 namespace CodeModel {
54 inline CodeModel::Model unwrap(LLVMCodeModel Model) { in unwrap()
57 return CodeModel::Default; in unwrap()
59 return CodeModel::JITDefault; in unwrap()
61 return CodeModel::Small; in unwrap()
63 return CodeModel::Kernel; in unwrap()
65 return CodeModel::Medium; in unwrap()
67 return CodeModel::Large; in unwrap()
69 return CodeModel::Default; in unwrap()
72 inline LLVMCodeModel wrap(CodeModel::Model Model) { in wrap()
[all …]
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCTargetDesc.cpp65 CodeModel::Model CM, in createSparcMCCodeGenInfo()
70 if (CM == CodeModel::Default) in createSparcMCCodeGenInfo()
71 CM = RM == Reloc::PIC_ ? CodeModel::Medium : CodeModel::Small; in createSparcMCCodeGenInfo()
78 CodeModel::Model CM, in createSparcV9MCCodeGenInfo()
83 if (CM == CodeModel::Default) in createSparcV9MCCodeGenInfo()
84 CM = CodeModel::Medium; in createSparcV9MCCodeGenInfo()
/external/llvm/include/llvm/MC/
DMCCodeGenInfo.h29 CodeModel::Model CMModel;
37 CodeModel::Model CM = CodeModel::Default,
42 CodeModel::Model getCodeModel() const { return CMModel; } in getCodeModel()
/external/llvm/include/llvm/CodeGen/
DCommandFlags.h55 cl::opt<llvm::CodeModel::Model>
58 cl::init(CodeModel::Default),
59 cl::values(clEnumValN(CodeModel::Default, "default",
61 clEnumValN(CodeModel::Small, "small",
63 clEnumValN(CodeModel::Kernel, "kernel",
65 clEnumValN(CodeModel::Medium, "medium",
67 clEnumValN(CodeModel::Large, "large",
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCTargetDesc.cpp103 CodeModel::Model CM, in createSystemZMCCodeGenInfo()
141 if (CM == CodeModel::Default) in createSystemZMCCodeGenInfo()
142 CM = CodeModel::Small; in createSystemZMCCodeGenInfo()
143 else if (CM == CodeModel::JITDefault) in createSystemZMCCodeGenInfo()
144 CM = RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in createSystemZMCCodeGenInfo()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCTargetDesc.cpp73 CodeModel::Model CM, in createAArch64MCCodeGenInfo()
83 if (CM == CodeModel::Default) in createAArch64MCCodeGenInfo()
84 CM = CodeModel::Small; in createAArch64MCCodeGenInfo()
85 else if (CM == CodeModel::JITDefault) { in createAArch64MCCodeGenInfo()
89 CM = CodeModel::Large; in createAArch64MCCodeGenInfo()
/external/clang/lib/CodeGen/
DBackendUtil.cpp348 llvm::CodeModel::Model CM; in CreateTargetMachine()
349 if (CodeGenOpts.CodeModel == "small") { in CreateTargetMachine()
350 CM = llvm::CodeModel::Small; in CreateTargetMachine()
351 } else if (CodeGenOpts.CodeModel == "kernel") { in CreateTargetMachine()
352 CM = llvm::CodeModel::Kernel; in CreateTargetMachine()
353 } else if (CodeGenOpts.CodeModel == "medium") { in CreateTargetMachine()
354 CM = llvm::CodeModel::Medium; in CreateTargetMachine()
355 } else if (CodeGenOpts.CodeModel == "large") { in CreateTargetMachine()
356 CM = llvm::CodeModel::Large; in CreateTargetMachine()
358 assert(CodeGenOpts.CodeModel.empty() && "Invalid code model!"); in CreateTargetMachine()
[all …]
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h150 , CodeModel(CodeModel::Default) in MCJITTestBase()
192 .setCodeModel(CodeModel::JITDefault) in createJIT()
204 CodeModel::Model CodeModel; variable
/external/llvm/lib/Target/Sparc/
DSparcTargetMachine.h38 Reloc::Model RM, CodeModel::Model CM,
69 Reloc::Model RM, CodeModel::Model CM,
81 Reloc::Model RM, CodeModel::Model CM,
DSparcTargetMachine.cpp31 Reloc::Model RM, CodeModel::Model CM, in SparcTargetMachine()
83 CodeModel::Model CM, in SparcV8TargetMachine()
95 CodeModel::Model CM, in SparcV9TargetMachine()
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetMachine.h52 CodeModel::Model CM, CodeGenOpt::Level OP, bool is64bit);
103 Reloc::Model RM, CodeModel::Model CM,
112 Reloc::Model RM, CodeModel::Model CM,
DNVPTXTargetMachine.cpp71 const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, in NVPTXTargetMachine()
85 const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, in NVPTXTargetMachine32()
93 const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, in NVPTXTargetMachine64()
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.h43 Reloc::Model RM, CodeModel::Model CM,
83 Reloc::Model RM, CodeModel::Model CM,
94 Reloc::Model RM, CodeModel::Model CM,
DPPCTargetMachine.cpp39 Reloc::Model RM, CodeModel::Model CM, in PPCTargetMachine()
60 Reloc::Model RM, CodeModel::Model CM, in PPC32TargetMachine()
70 Reloc::Model RM, CodeModel::Model CM, in PPC64TargetMachine()
/external/llvm/lib/Target/ARM/
DARMTargetMachine.h44 Reloc::Model RM, CodeModel::Model CM,
79 Reloc::Model RM, CodeModel::Model CM,
117 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/Mips/
DMipsTargetMachine.h53 Reloc::Model RM, CodeModel::Model CM,
108 Reloc::Model RM, CodeModel::Model CM,
119 Reloc::Model RM, CodeModel::Model CM,
DMipsTargetMachine.cpp57 Reloc::Model RM, CodeModel::Model CM, in MipsTargetMachine()
119 Reloc::Model RM, CodeModel::Model CM, in MipsebTargetMachine()
128 Reloc::Model RM, CodeModel::Model CM, in MipselTargetMachine()
/external/llvm/lib/Target/SystemZ/
DSystemZSubtarget.cpp44 CodeModel::Model CM) const { in isPC32DBLSymbol()
51 if (CM == CodeModel::Small) in isPC32DBLSymbol()
/external/llvm/tools/lli/
Dlli.cpp150 cl::opt<llvm::CodeModel::Model>
153 cl::init(CodeModel::JITDefault),
154 cl::values(clEnumValN(CodeModel::JITDefault, "default",
156 clEnumValN(CodeModel::Small, "small",
158 clEnumValN(CodeModel::Kernel, "kernel",
160 clEnumValN(CodeModel::Medium, "medium",
162 clEnumValN(CodeModel::Large, "large",
/external/llvm/lib/Target/X86/
DX86TargetMachine.h40 Reloc::Model RM, CodeModel::Model CM,
89 Reloc::Model RM, CodeModel::Model CM,
118 Reloc::Model RM, CodeModel::Model CM,
DX86TargetMachine.cpp36 Reloc::Model RM, CodeModel::Model CM, in X86_32TargetMachine()
60 Reloc::Model RM, CodeModel::Model CM, in X86_64TargetMachine()
81 Reloc::Model RM, CodeModel::Model CM, in X86TargetMachine()
/external/llvm/lib/MC/
DMCObjectFileInfo.cpp256 ((CMModel == CodeModel::Small || CMModel == CodeModel::Medium) in InitELFMCObjectFileInfo()
259 (CMModel == CodeModel::Small in InitELFMCObjectFileInfo()
263 ((CMModel == CodeModel::Small || CMModel == CodeModel::Medium) in InitELFMCObjectFileInfo()
267 (CMModel == CodeModel::Small || CMModel == CodeModel::Medium) in InitELFMCObjectFileInfo()
269 LSDAEncoding = (CMModel == CodeModel::Small) in InitELFMCObjectFileInfo()
272 TTypeEncoding = (CMModel == CodeModel::Small) in InitELFMCObjectFileInfo()
639 CodeModel::Model cm, in InitMCObjectFileInfo()
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp129 static cl::opt<llvm::CodeModel::Model>
132 cl::init(CodeModel::Default),
133 cl::values(clEnumValN(CodeModel::Default, "default",
135 clEnumValN(CodeModel::Small, "small",
137 clEnumValN(CodeModel::Kernel, "kernel",
139 clEnumValN(CodeModel::Medium, "medium",
141 clEnumValN(CodeModel::Large, "large",
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp308 CodeModel::Model CM, in createX86MCCodeGenInfo()
347 if (CM == CodeModel::Default) in createX86MCCodeGenInfo()
348 CM = CodeModel::Small; in createX86MCCodeGenInfo()
349 else if (CM == CodeModel::JITDefault) in createX86MCCodeGenInfo()
351 CM = is64Bit ? CodeModel::Large : CodeModel::Small; in createX86MCCodeGenInfo()
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h207 CodeModel::Model CMM =
208 CodeModel::JITDefault);
508 CodeModel::Model CMModel;
524 CMModel = CodeModel::JITDefault; in InitEngine()
599 EngineBuilder &setCodeModel(CodeModel::Model M) { in setCodeModel()

1234