Searched refs:llvm (Results 26 - 50 of 405) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/tools/mcld/include/mcld/
H A DScriptOptions.h11 #include <llvm/Support/CommandLine.h>
31 llvm::cl::list<std::string>& m_WrapList;
32 llvm::cl::list<std::string>& m_PortList;
33 llvm::cl::list<std::string>& m_AddressMapList;
34 llvm::cl::opt<unsigned long long>& m_BssSegAddr;
35 llvm::cl::opt<unsigned long long>& m_DataSegAddr;
36 llvm::cl::opt<unsigned long long>& m_TextSegAddr;
H A DTargetControlOptions.h11 #include <llvm/Support/CommandLine.h>
25 llvm::cl::opt<int>& m_GPSize;
26 llvm::cl::opt<bool>& m_WarnSharedTextrel;
27 llvm::cl::opt<bool>& m_FIXCA8;
28 llvm::cl::opt<bool>& m_EB;
29 llvm::cl::opt<bool>& m_EL;
30 llvm::cl::opt<bool>& m_SVR4Compatibility;
H A DSymbolOptions.h11 #include <llvm/Support/CommandLine.h>
27 llvm::cl::list<std::string>& m_ForceUndefined;
28 llvm::cl::opt<std::string>& m_VersionScript;
29 llvm::cl::opt<bool>& m_WarnCommon;
30 llvm::cl::opt<bool>& m_DefineCommon;
H A DDynamicSectionOptions.h11 #include <llvm/Support/CommandLine.h>
29 llvm::cl::opt<std::string>& m_Entry;
30 llvm::cl::opt<bool>& m_Bsymbolic;
31 llvm::cl::opt<bool>& m_Bgroup;
32 llvm::cl::opt<std::string>& m_SOName;
33 llvm::cl::opt<llvm::cl::boolOrDefault>& m_NoUndefined;
34 llvm::cl::opt<llvm::cl::boolOrDefault>& m_AllowMulDefs;
35 llvm
[all...]
H A DPositionalOptions.h11 #include <llvm/Support/CommandLine.h>
51 llvm::cl::list<mcld::sys::fs::Path>& m_InputObjectFiles;
52 llvm::cl::list<std::string>& m_LinkerScript;
53 llvm::cl::list<std::string>& m_NameSpecList;
54 llvm::cl::list<bool>& m_WholeArchiveList;
55 llvm::cl::list<bool>& m_NoWholeArchiveList;
56 llvm::cl::list<bool>& m_AsNeededList;
57 llvm::cl::list<bool>& m_NoAsNeededList;
58 llvm::cl::list<bool>& m_AddNeededList;
59 llvm
[all...]
H A DTripleOptions.h11 #include <llvm/Support/CommandLine.h>
26 llvm::cl::opt<std::string>& m_TargetTriple;
27 llvm::cl::opt<std::string>& m_MArch;
28 llvm::cl::opt<std::string>& m_MCPU;
29 llvm::cl::list<std::string>& m_MAttrs;
30 llvm::cl::opt<std::string>& m_Emulation;
/frameworks/compile/mclinker/lib/ADT/
H A DStringEntry.cpp14 // StringEntry<llvm::StringRef>
16 StringEntry<llvm::StringRef>::StringEntry()
20 StringEntry<llvm::StringRef>::StringEntry(const StringEntry::key_type& pKey)
24 StringEntry<llvm::StringRef>::StringEntry(const StringEntry<llvm::StringRef>& pCopy)
29 StringEntry<llvm::StringRef>::~StringEntry()
35 void StringEntry<llvm::StringRef>::setValue(llvm::StringRef& pVal)
39 m_Value = llvm::StringRef(data, pVal.size());
42 void StringEntry<llvm
[all...]
/frameworks/compile/libbcc/include/bcc/Support/
H A DCompilerConfig.h23 #include <llvm/ADT/Triple.h>
24 #include <llvm/Support/CodeGen.h>
25 #include <llvm/Target/TargetOptions.h>
27 namespace llvm { namespace
31 } // end namespace llvm
45 llvm::TargetOptions mTargetOpts;
47 llvm::CodeModel::Model mCodeModel;
49 llvm::CodeGenOpt::Level mOptLevel;
51 llvm::Reloc::Model mRelocModel;
63 const llvm
[all...]
/frameworks/rs/cpu_ref/linkloader/lib/
H A DELFTypes.cpp18 #include <llvm/Support/raw_ostream.h>
19 #include <llvm/Support/Format.h>
24 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, TYPE const &val) { \
25 os << llvm::format("%0*x", FORMAT_WIDTH, val.value); \
/frameworks/compile/libbcc/tools/bcc_compat/
H A DMain.cpp22 #include <llvm/ADT/STLExtras.h>
23 #include <llvm/ADT/SmallString.h>
24 #include <llvm/Config/config.h>
25 #include <llvm/Support/CommandLine.h>
26 #include <llvm/Support/FileSystem.h>
27 #include <llvm/Support/Path.h>
28 #include <llvm/Support/raw_ostream.h>
50 llvm::cl::list<std::string>
51 OptInputFilenames(llvm::cl::Positional, llvm
[all...]
/frameworks/compile/mclinker/tools/mcld/lib/
H A DSearchPathOptions.cpp16 llvm::cl::opt<mcld::sys::fs::Path,
18 llvm::cl::parser<mcld::sys::fs::Path> > ArgSysRoot("sysroot",
19 llvm::cl::desc("Use directory as the location of the sysroot"),
20 llvm::cl::value_desc("directory"),
21 llvm::cl::ValueRequired);
23 llvm::cl::list<std::string,
25 llvm::cl::SearchDirParser> ArgSearchDirList("L",
26 llvm::cl::ZeroOrMore,
27 llvm::cl::desc("Add [searchdir] to the list of search paths"),
28 llvm
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DELFFileFormat.cpp13 #include <llvm/Support/ELF.h>
71 llvm::ELF::SHT_PROGBITS,
72 llvm::ELF::SHF_ALLOC | llvm::ELF::SHF_EXECINSTR,
76 llvm::ELF::SHT_NULL,
80 llvm::ELF::SHT_PROGBITS,
81 llvm::ELF::SHF_ALLOC,
86 llvm::ELF::SHT_NOBITS,
87 llvm::ELF::SHF_ALLOC | llvm
[all...]
/frameworks/compile/mclinker/include/mcld/Support/
H A Draw_ostream.h12 #include <llvm/Support/FileSystem.h>
13 #include <llvm/Support/raw_ostream.h>
17 class raw_fd_ostream : public llvm::raw_fd_ostream
32 llvm::sys::fs::OpenFlags pFlags = llvm::sys::fs::F_None);
43 llvm::raw_ostream &changeColor(enum llvm::raw_ostream::Colors pColors,
47 llvm::raw_ostream &resetColor();
49 llvm::raw_ostream &reverseColor();
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp23 #include <llvm/ADT/STLExtras.h>
24 #include <llvm/ADT/SmallString.h>
25 #include <llvm/Config/config.h>
26 #include <llvm/Support/CommandLine.h>
27 #include <llvm/Support/FileSystem.h>
28 #include <llvm/Support/MemoryBuffer.h>
29 #include <llvm/Support/PluginLoader.h>
30 #include <llvm/Support/raw_ostream.h>
57 llvm::cl::opt<std::string>
58 OptInputFilename(llvm
[all...]
/frameworks/compile/slang/
H A Dslang_rs_backend.h25 namespace llvm { namespace
53 llvm::NamedMDNode *mExportVarMetadata;
54 llvm::NamedMDNode *mExportFuncMetadata;
55 llvm::NamedMDNode *mExportForEachNameMetadata;
56 llvm::NamedMDNode *mExportForEachSignatureMetadata;
57 llvm::NamedMDNode *mExportTypeMetadata;
58 llvm::NamedMDNode *mRSObjectSlotsMetadata;
66 void dumpExportVarInfo(llvm::Module *M);
67 void dumpExportFunctionInfo(llvm::Module *M);
68 void dumpExportForEachInfo(llvm
[all...]
H A Dstrip_unknown_attributes.cpp25 bool StripUnknownAttributes::runOnFunction(llvm::Function &F) {
27 for (llvm::Function::arg_iterator I = F.arg_begin(), E = F.arg_end();
29 llvm::Argument &A = *I;
32 llvm::AttrBuilder B;
33 B.addAttribute(llvm::Attribute::ReadNone);
34 B.addAttribute(llvm::Attribute::ReadOnly);
35 llvm::AttributeSet ToStrip = llvm::AttributeSet::get(F.getContext(),
45 bool StripUnknownAttributes::runOnModule(llvm::Module &M) {
47 for (llvm
[all...]
/frameworks/compile/libbcc/lib/Core/
H A DSource.cpp21 #include <llvm/Bitcode/ReaderWriter.h>
22 #include <llvm/IR/LLVMContext.h>
23 #include <llvm/IR/Module.h>
24 #include <llvm/IR/Verifier.h>
25 #include <llvm/Linker/Linker.h>
26 #include <llvm/Support/MemoryBuffer.h>
27 #include "llvm/Support/raw_ostream.h"
40 static inline llvm::Module *helper_load_bitcode(llvm::LLVMContext &pContext,
41 llvm
[all...]
H A DBCCContextImpl.cpp21 #include <llvm/ADT/STLExtras.h>
32 llvm::DeleteContainerPointers(Sources);
/frameworks/rs/cpu_ref/linkloader/include/
H A DELF.h4 #include <llvm/Support/ELF.h>
6 using namespace llvm::ELF;
8 // These definitions are not defined in include/llvm/Support/ELF.h.
/frameworks/compile/mclinker/lib/Target/
H A DELFDynamic.cpp9 #include <llvm/Support/Host.h>
10 #include <llvm/Support/ErrorHandling.h>
101 reserveOne(llvm::ELF::DT_SONAME); // DT_SONAME
104 reserveOne(llvm::ELF::DT_SYMBOLIC); // DT_SYMBOLIC
108 reserveOne(llvm::ELF::DT_INIT); // DT_INIT
111 reserveOne(llvm::ELF::DT_FINI); // DT_FINI
114 reserveOne(llvm::ELF::DT_PREINIT_ARRAY); // DT_PREINIT_ARRAY
115 reserveOne(llvm::ELF::DT_PREINIT_ARRAYSZ); // DT_PREINIT_ARRAYSZ
119 reserveOne(llvm::ELF::DT_INIT_ARRAY); // DT_INIT_ARRAY
120 reserveOne(llvm
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMGNUInfo.h13 #include <llvm/Support/ELF.h>
20 ARMGNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { }
22 uint32_t machine() const { return llvm::ELF::EM_ARM; }
26 uint64_t flags() const { return llvm::ELF::EF_ARM_EABI_VER5; }
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSCompiler.h26 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM);
27 bool addInternalizeSymbolsPass(Script &pScript, llvm::PassManager &pPM);
28 bool addExpandForEachPass(Script &pScript, llvm::PassManager &pPM);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonGNUInfo.cpp11 #include <llvm/ADT/StringRef.h>
12 #include <llvm/ADT/StringSwitch.h>
26 return llvm::StringSwitch<uint64_t>(m_Options.getTargetCPU())
/frameworks/compile/libbcc/lib/Support/
H A DCompilerConfig.cpp21 #include <llvm/CodeGen/SchedulerRegistry.h>
22 #include <llvm/MC/SubtargetFeature.h>
23 #include <llvm/Support/Host.h>
24 #include <llvm/Support/TargetRegistry.h>
35 llvm::RegisterScheduler::setDefault(llvm::createDefaultScheduler);
45 // options.FloatABIType = llvm::FloatABI::Soft;
47 mTargetOpts.FloatABIType = llvm::FloatABI::Soft;
56 mCodeModel = llvm::CodeModel::Small;
61 mRelocModel = llvm
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSEmbedInfo.cpp23 #include <llvm/IR/DerivedTypes.h>
24 #include <llvm/IR/Function.h>
25 #include <llvm/IR/Instructions.h>
26 #include <llvm/IR/IRBuilder.h>
27 #include <llvm/IR/Module.h>
28 #include <llvm/Pass.h>
29 #include <llvm/Support/raw_ostream.h>
30 #include <llvm/IR/Type.h>
47 class RSEmbedInfoPass : public llvm::ModulePass {
51 llvm
[all...]

Completed in 2353 milliseconds

1234567891011>>