Lines Matching refs:llvm
37 llvm::StringMap<bool> features; in HasF16C()
38 if (!llvm::sys::getHostCPUFeatures(features)) in HasF16C()
55 llvm::RegisterScheduler::setDefault(llvm::createDefaultScheduler); in CompilerConfig()
67 mTargetOpts.FloatABIType = llvm::FloatABI::Soft; in CompilerConfig()
76 mCodeModel = llvm::CodeModel::Small; in CompilerConfig()
81 mRelocModel = llvm::Reloc::Default; in CompilerConfig()
86 mOptLevel = llvm::CodeGenOpt::Default; in CompilerConfig()
91 mArchType = llvm::Triple::UnknownArch; in CompilerConfig()
101 mTarget = llvm::TargetRegistry::lookupTarget(mTriple, error); in initializeTarget()
113 mArchType = llvm::Triple::getArchTypeForLLVMName(mTarget->getName()); in initializeArch()
115 mArchType = llvm::Triple::UnknownArch; in initializeArch()
122 case llvm::Triple::arm: { in initializeArch()
123 llvm::StringMap<bool> features; in initializeArch()
124 llvm::sys::getHostCPUFeatures(features); in initializeArch()
165 setCPU(llvm::sys::getHostCPUName()); in initializeArch()
181 case llvm::Triple::aarch64: in initializeArch()
185 setCPU(llvm::sys::getHostCPUName()); in initializeArch()
200 case llvm::Triple::mips: in initializeArch()
201 case llvm::Triple::mipsel: in initializeArch()
202 if (getRelocationModel() == llvm::Reloc::Default) { in initializeArch()
203 setRelocationModel(llvm::Reloc::Static); in initializeArch()
209 case llvm::Triple::mips64: in initializeArch()
210 case llvm::Triple::mips64el: in initializeArch()
217 case llvm::Triple::x86: in initializeArch()
233 case llvm::Triple::x86_64: in initializeArch()
235 if (getRelocationModel() == llvm::Reloc::PIC_) { in initializeArch()
236 setCodeModel(llvm::CodeModel::Small); in initializeArch()
238 setCodeModel(llvm::CodeModel::Medium); in initializeArch()
263 llvm::SubtargetFeatures f; in setFeatureString()