Home
last modified time | relevance | path

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

12345

/external/llvm/include/llvm/Support/
DCodeGen.h29 namespace CodeModel {
58 inline CodeModel::Model unwrap(LLVMCodeModel Model) { in unwrap()
61 return CodeModel::Default; in unwrap()
63 return CodeModel::JITDefault; in unwrap()
65 return CodeModel::Small; in unwrap()
67 return CodeModel::Kernel; in unwrap()
69 return CodeModel::Medium; in unwrap()
71 return CodeModel::Large; in unwrap()
73 return CodeModel::Default; in unwrap()
76 inline LLVMCodeModel wrap(CodeModel::Model Model) { in wrap()
[all …]
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCTargetDesc.cpp86 CodeModel::Model CM, in createSparcMCCodeGenInfo()
94 case CodeModel::Default: in createSparcMCCodeGenInfo()
95 case CodeModel::JITDefault: CM = CodeModel::Small; break; in createSparcMCCodeGenInfo()
104 CodeModel::Model CM, in createSparcV9MCCodeGenInfo()
112 case CodeModel::Default: in createSparcV9MCCodeGenInfo()
113 CM = RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in createSparcV9MCCodeGenInfo()
115 case CodeModel::JITDefault: in createSparcV9MCCodeGenInfo()
116 CM = CodeModel::Large; in createSparcV9MCCodeGenInfo()
/external/llvm/lib/Target/ARM/
DARMTargetMachine.h42 Reloc::Model RM, CodeModel::Model CM,
68 CodeModel::Model CM, CodeGenOpt::Level OL, bool isLittle);
78 Reloc::Model RM, CodeModel::Model CM,
89 Reloc::Model RM, CodeModel::Model CM,
102 Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL,
113 Reloc::Model RM, CodeModel::Model CM,
124 Reloc::Model RM, CodeModel::Model CM,
DARMTargetMachine.cpp179 Reloc::Model RM, CodeModel::Model CM, in ARMBaseTargetMachine()
251 Reloc::Model RM, CodeModel::Model CM, in ARMTargetMachine()
265 Reloc::Model RM, CodeModel::Model CM, in ARMLETargetMachine()
274 Reloc::Model RM, CodeModel::Model CM, in ARMBETargetMachine()
283 Reloc::Model RM, CodeModel::Model CM, in ThumbTargetMachine()
294 Reloc::Model RM, CodeModel::Model CM, in ThumbLETargetMachine()
303 Reloc::Model RM, CodeModel::Model CM, in ThumbBETargetMachine()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCTargetDesc.cpp77 CodeModel::Model CM, in createAArch64MCCodeGenInfo()
82 if (CM == CodeModel::Default) in createAArch64MCCodeGenInfo()
83 CM = CodeModel::Small; in createAArch64MCCodeGenInfo()
87 else if (CM == CodeModel::JITDefault) in createAArch64MCCodeGenInfo()
88 CM = CodeModel::Large; in createAArch64MCCodeGenInfo()
89 else if (CM != CodeModel::Small && CM != CodeModel::Large) in createAArch64MCCodeGenInfo()
/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/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
250 CodeModel CodeModel) (tm TargetMachine) {
260 C.LLVMCodeModel(CodeModel))
Dexecutionengine.go51 func (options *MCJITCompilerOptions) SetMCJITCodeModel(CodeModel CodeModel) {
52 options.C.CodeModel = C.LLVMCodeModel(CodeModel)
/external/llvm/lib/Target/XCore/MCTargetDesc/
DXCoreMCTargetDesc.cpp67 CodeModel::Model CM, in createXCoreMCCodeGenInfo()
73 if (CM == CodeModel::Default) { in createXCoreMCCodeGenInfo()
74 CM = CodeModel::Small; in createXCoreMCCodeGenInfo()
76 if (CM != CodeModel::Small && CM != CodeModel::Large) in createXCoreMCCodeGenInfo()
/external/llvm/lib/Target/Sparc/
DSparcTargetMachine.h29 Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL,
51 Reloc::Model RM, CodeModel::Model CM,
62 Reloc::Model RM, CodeModel::Model CM,
72 Reloc::Model RM, CodeModel::Model CM,
DSparcTargetMachine.cpp60 Reloc::Model RM, CodeModel::Model CM, in SparcTargetMachine()
112 Reloc::Model RM, CodeModel::Model CM, in SparcV8TargetMachine()
121 Reloc::Model RM, CodeModel::Model CM, in SparcV9TargetMachine()
130 Reloc::Model RM, CodeModel::Model CM, in SparcelTargetMachine()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp156 CodeModel::Model CM, in createX86MCCodeGenInfo()
194 if (CM == CodeModel::Default) in createX86MCCodeGenInfo()
195 CM = CodeModel::Small; in createX86MCCodeGenInfo()
196 else if (CM == CodeModel::JITDefault) in createX86MCCodeGenInfo()
198 CM = is64Bit ? CodeModel::Large : CodeModel::Small; in createX86MCCodeGenInfo()
/external/llvm/lib/Target/AArch64/
DAArch64TargetMachine.h32 Reloc::Model RM, CodeModel::Model CM,
59 Reloc::Model RM, CodeModel::Model CM,
70 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetMachine.h42 CodeModel::Model CM, CodeGenOpt::Level OL);
68 CodeModel::Model CM, CodeGenOpt::Level OL);
82 CodeModel::Model CM, CodeGenOpt::Level OL);
/external/llvm/include/llvm/CodeGen/
DCommandFlags.h74 cl::opt<llvm::CodeModel::Model>
77 cl::init(CodeModel::Default),
78 cl::values(clEnumValN(CodeModel::Default, "default",
80 clEnumValN(CodeModel::Small, "small",
82 clEnumValN(CodeModel::Kernel, "kernel",
84 clEnumValN(CodeModel::Medium, "medium",
86 clEnumValN(CodeModel::Large, "large",
DParallelCG.h37 CodeModel::Model CM = CodeModel::Default,
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetMachine.h39 Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OP,
73 Reloc::Model RM, CodeModel::Model CM,
82 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.h39 CodeModel::Model CM, CodeGenOpt::Level OL);
67 Reloc::Model RM, CodeModel::Model CM,
78 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/Mips/
DMipsTargetMachine.h44 CodeModel::Model CM, CodeGenOpt::Level OL, bool isLittle);
78 Reloc::Model RM, CodeModel::Model CM,
89 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCTargetDesc.cpp164 CodeModel::Model CM, in createSystemZMCCodeGenInfo()
202 if (CM == CodeModel::Default) in createSystemZMCCodeGenInfo()
203 CM = CodeModel::Small; in createSystemZMCCodeGenInfo()
204 else if (CM == CodeModel::JITDefault) in createSystemZMCCodeGenInfo()
205 CM = RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in createSystemZMCCodeGenInfo()
/external/clang/lib/CodeGen/
DBackendUtil.cpp451 unsigned CodeModel = in CreateTargetMachine() local
452 llvm::StringSwitch<unsigned>(CodeGenOpts.CodeModel) in CreateTargetMachine()
453 .Case("small", llvm::CodeModel::Small) in CreateTargetMachine()
454 .Case("kernel", llvm::CodeModel::Kernel) in CreateTargetMachine()
455 .Case("medium", llvm::CodeModel::Medium) in CreateTargetMachine()
456 .Case("large", llvm::CodeModel::Large) in CreateTargetMachine()
457 .Case("default", llvm::CodeModel::Default) in CreateTargetMachine()
459 assert(CodeModel != ~0u && "invalid code model!"); in CreateTargetMachine()
460 llvm::CodeModel::Model CM = static_cast<llvm::CodeModel::Model>(CodeModel); in CreateTargetMachine()
/external/llvm/lib/MC/
DMCObjectFileInfo.cpp289 ((CMModel == CodeModel::Large) ? dwarf::DW_EH_PE_sdata8 in initELFMCObjectFileInfo()
320 ((CMModel == CodeModel::Small || CMModel == CodeModel::Medium) in initELFMCObjectFileInfo()
323 (CMModel == CodeModel::Small in initELFMCObjectFileInfo()
326 ((CMModel == CodeModel::Small || CMModel == CodeModel::Medium) in initELFMCObjectFileInfo()
330 (CMModel == CodeModel::Small || CMModel == CodeModel::Medium) in initELFMCObjectFileInfo()
332 LSDAEncoding = (CMModel == CodeModel::Small) in initELFMCObjectFileInfo()
334 TTypeEncoding = (CMModel == CodeModel::Small) in initELFMCObjectFileInfo()
786 CodeModel::Model cm, in InitMCObjectFileInfo()
836 CodeModel::Model CM, in InitMCObjectFileInfo()
/external/llvm/lib/Target/SystemZ/
DSystemZSubtarget.cpp58 CodeModel::Model CM) const { in isPC32DBLSymbol()
65 if (CM == CodeModel::Small) in isPC32DBLSymbol()
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp133 static cl::opt<llvm::CodeModel::Model>
136 cl::init(CodeModel::Default),
137 cl::values(clEnumValN(CodeModel::Default, "default",
139 clEnumValN(CodeModel::Small, "small",
141 clEnumValN(CodeModel::Kernel, "kernel",
143 clEnumValN(CodeModel::Medium, "medium",
145 clEnumValN(CodeModel::Large, "large",
/external/llvm/tools/lli/
Dlli.cpp205 cl::opt<llvm::CodeModel::Model>
208 cl::init(CodeModel::JITDefault),
209 cl::values(clEnumValN(CodeModel::JITDefault, "default",
211 clEnumValN(CodeModel::Small, "small",
213 clEnumValN(CodeModel::Kernel, "kernel",
215 clEnumValN(CodeModel::Medium, "medium",
217 clEnumValN(CodeModel::Large, "large",

12345