/external/llvm/include/llvm/Support/ |
D | CodeGenCWrappers.h | 25 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-7.0/llvm/include/llvm/Target/ |
D | CodeGenCWrappers.h | 26 inline Optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { in unwrap() 35 return CodeModel::Small; in unwrap() 37 return CodeModel::Kernel; in unwrap() 39 return CodeModel::Medium; in unwrap() 41 return CodeModel::Large; in unwrap() 43 return CodeModel::Small; in unwrap() 46 inline LLVMCodeModel wrap(CodeModel::Model Model) { in wrap() 48 case CodeModel::Small: in wrap() 50 case CodeModel::Kernel: in wrap() 52 case CodeModel::Medium: in wrap() [all …]
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCTargetDesc.cpp | 84 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-7.0/llvm/lib/Target/Sparc/ |
D | SparcTargetMachine.cpp | 73 static CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM, in getEffectiveCodeModel() 80 return CodeModel::Large; in getEffectiveCodeModel() 81 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in getEffectiveCodeModel() 83 return CodeModel::Small; in getEffectiveCodeModel() 90 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT, bool is64bit) in SparcTargetMachine() 191 Optional<CodeModel::Model> CM, in SparcV8TargetMachine() 201 Optional<CodeModel::Model> CM, in SparcV9TargetMachine() 211 Optional<CodeModel::Model> CM, in SparcelTargetMachine()
|
D | SparcTargetMachine.h | 31 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 56 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 67 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 77 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiTargetMachine.cpp | 56 static CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveCodeModel() 59 return CodeModel::Medium; in getEffectiveCodeModel() 66 Optional<CodeModel::Model> CodeModel, in LanaiTargetMachine() argument 70 getEffectiveCodeModel(CodeModel), OptLevel), in LanaiTargetMachine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreTargetMachine.cpp | 34 static CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveCodeModel() 36 if (*CM != CodeModel::Small && *CM != CodeModel::Large) in getEffectiveCodeModel() 40 return CodeModel::Small; in getEffectiveCodeModel() 49 Optional<CodeModel::Model> CM, in XCoreTargetMachine()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCTargetDesc.cpp | 75 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/ |
D | WebAssemblyMCTargetDesc.cpp | 43 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/ |
D | ARMTargetMachine.h | 42 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/ |
D | target.go | 40 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-7.0/llvm/bindings/go/llvm/ |
D | target.go | 40 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-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetMachine.cpp | 131 static CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM, in getEffectiveCodeModel() 136 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in getEffectiveCodeModel() 137 return CodeModel::Small; in getEffectiveCodeModel() 144 Optional<CodeModel::Model> CM, in SystemZTargetMachine()
|
/external/llvm/lib/Target/XCore/MCTargetDesc/ |
D | XCoreMCTargetDesc.cpp | 65 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/llvm/lib/Target/Lanai/ |
D | LanaiTargetMachine.cpp | 60 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-7.0/llvm/lib/Target/ARC/ |
D | ARCTargetMachine.cpp | 29 static CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveCodeModel() 32 return CodeModel::Small; in getEffectiveCodeModel() 40 Optional<CodeModel::Model> CM, in ARCTargetMachine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/ |
D | MSP430TargetMachine.cpp | 35 static CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveCodeModel() 38 return CodeModel::Small; in getEffectiveCodeModel() 50 Optional<CodeModel::Model> CM, in MSP430TargetMachine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/ |
D | RISCVTargetMachine.cpp | 48 static CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveCodeModel() 51 return CodeModel::Small; in getEffectiveCodeModel() 58 Optional<CodeModel::Model> CM, in RISCVTargetMachine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/ |
D | AVRTargetMachine.cpp | 43 static CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveCodeModel() 46 return CodeModel::Small; in getEffectiveCodeModel() 53 Optional<CodeModel::Model> CM, in AVRTargetMachine()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcTargetMachine.h | 31 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-7.0/llvm/lib/Target/BPF/ |
D | BPFTargetMachine.cpp | 54 static CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveCodeModel() 57 return CodeModel::Small; in getEffectiveCodeModel() 64 Optional<CodeModel::Model> CM, in BPFTargetMachine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Nios2/ |
D | Nios2TargetMachine.cpp | 40 static CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM, in getEffectiveCodeModel() 44 return CodeModel::Small; in getEffectiveCodeModel() 51 Optional<CodeModel::Model> CM, in Nios2TargetMachine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetMachine.cpp | 209 static CodeModel::Model getEffectiveCodeModel(const Triple &TT, in getEffectiveCodeModel() 210 Optional<CodeModel::Model> CM, in getEffectiveCodeModel() 213 if (*CM != CodeModel::Small && *CM != CodeModel::Large) { in getEffectiveCodeModel() 217 else if (CM != CodeModel::Kernel) in getEffectiveCodeModel() 230 return CodeModel::Large; in getEffectiveCodeModel() 231 return CodeModel::Small; in getEffectiveCodeModel() 240 Optional<CodeModel::Model> CM, in AArch64TargetMachine() 297 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) in AArch64leTargetMachine() 305 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) in AArch64beTargetMachine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86Subtarget.cpp | 80 case CodeModel::Small: in classifyLocalReference() 81 case CodeModel::Kernel: in classifyLocalReference() 85 case CodeModel::Large: in classifyLocalReference() 89 case CodeModel::Medium: in classifyLocalReference() 123 if (TM.getCodeModel() == CodeModel::Large && !isPositionIndependent()) in classifyGlobalReference() 149 if (TM.getCodeModel() == CodeModel::Large) in classifyGlobalReference()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetMachine.cpp | 105 static CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveCodeModel() 108 return CodeModel::Small; in getEffectiveCodeModel() 115 Optional<CodeModel::Model> CM, in NVPTXTargetMachine() 142 Optional<CodeModel::Model> CM, in NVPTXTargetMachine32() 152 Optional<CodeModel::Model> CM, in NVPTXTargetMachine64()
|