/frameworks/rs/cpu_ref/ |
H A D | rsd_cpu.h | 23 namespace llvm { namespace 27 } // end namespace llvm 33 typedef llvm::Module* (*RSLinkRuntimeCallback) 34 (bcc::RSScript *, llvm::Module *, llvm::Module *);
|
/frameworks/compile/mclinker/include/mcld/CodeGen/ |
H A D | MCLinker.h | 16 #include <llvm/CodeGen/MachineFunctionPass.h> 18 namespace llvm { namespace 23 } // namespace of llvm 43 class MCLinker : public llvm::MachineFunctionPass 59 virtual bool doInitialization(llvm::Module &pM); 61 virtual bool doFinalization(llvm::Module &pM); 63 virtual bool runOnMachineFunction(llvm::MachineFunction& pMFn);
|
H A D | TargetMachine.h | 11 #include <llvm/Support/CodeGen.h> 14 namespace llvm { namespace 25 } // namespace llvm 52 /// Adapter of llvm::TargetMachine 54 MCLDTargetMachine(llvm::TargetMachine& pTM, 55 const llvm::Target& pLLMVTarget, 61 /// getTarget - adapt llvm::TargetMachine::getTarget 64 /// getTM - return adapted the llvm::TargetMachine. 65 const llvm::TargetMachine& getTM() const { return m_TM; } 66 llvm [all...] |
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | LDContext.h | 14 #include <llvm/Support/DataTypes.h> 18 namespace llvm { namespace 66 const LDSymbol* getSymbol(const llvm::StringRef& pName) const; 67 LDSymbol* getSymbol(const llvm::StringRef& pName);
|
H A D | LDSymbol.h | 19 namespace llvm { namespace 24 } // namespace of llvm 69 llvm::StringRef str() const { 71 return llvm::StringRef(m_pResolveInfo->name(), m_pResolveInfo->nameSize()); 137 template<class T> friend void* llvm::object_creator();
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | CommandLine.h | 14 #include <llvm/ADT/StringRef.h> 15 #include <llvm/ADT/Triple.h> 16 #include <llvm/Support/CommandLine.h> 20 namespace llvm { namespace 26 class SearchDirParser : public llvm::cl::basic_parser<std::string> 84 class parser<mcld::ZOption> : public llvm::cl::basic_parser<mcld::ZOption> 98 } // namespace of llvm
|
H A D | Target.h | 14 namespace llvm { namespace 18 } // namespace of llvm 41 typedef unsigned int (*TripleMatchQualityFnTy)(const llvm::Triple& pTriple); 43 typedef MCLDTargetMachine *(*TargetMachineCtorTy)(const llvm::Target &, 45 llvm::TargetMachine &, 66 unsigned int getTripleQuality(const llvm::Triple& pTriple) const; 70 const llvm::Target& pTarget, 71 llvm::TargetMachine& pTM) const;
|
H A D | TargetRegistry.h | 12 #include <llvm/ADT/Triple.h> 17 namespace llvm { namespace 22 } // namespace of llvm 27 * \brief TargetRegistry is an object adapter of llvm::TargetRegistry 131 llvm::Triple& pTriple, 141 /// RegisterTarget<llvm::Foo> X(TheFooTarget, "foo", "Foo description"); 143 template<llvm::Triple::ArchType TargetArchType = llvm::Triple::UnknownArch> 158 static unsigned int getTripleMatchQuality(const llvm::Triple& pTriple) { 181 static MCLDTargetMachine *Allocator(const llvm [all...] |
H A D | ToolOutputFile.h | 15 namespace llvm { namespace 17 } // end of namespace llvm 43 llvm::raw_fd_ostream& os(); 46 llvm::formatted_raw_ostream& formatted_os(); 70 llvm::raw_fd_ostream* m_pFdOstream; 71 llvm::formatted_raw_ostream* m_pFormattedOstream;
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64.h | 13 namespace llvm { namespace 15 } // namespace of llvm 24 TargetLDBackend *createAArch64LDBackend(const llvm::Target&,
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARM.h | 13 namespace llvm { namespace 15 } // namespace of llvm 25 TargetLDBackend *createARMLDBackend(const llvm::Target&, const std::string&);
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | Hexagon.h | 13 namespace llvm { namespace 15 } // namespace of llvm 25 createHexagonLDBackend(const llvm::Target&, const std::string&);
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsLDBackend.cpp | 16 #include <llvm/ADT/Triple.h> 17 #include <llvm/Support/Casting.h> 18 #include <llvm/Support/ELF.h> 19 #include <llvm/Support/Host.h> 74 if (llvm::ELF::R_MIPS_26 != pType) 234 uint64_t picFlags = llvm::ELF::EF_MIPS_CPIC; 236 picFlags |= llvm::ELF::EF_MIPS_PIC; 240 picFlags |= llvm::ELF::EF_MIPS_PIC; 318 llvm::errs() << ".gnu.hash is incompatible with the MIPS ABI\n"; 327 namespace llvm { namespace [all...] |
H A D | MipsRelocator.cpp | 19 #include <llvm/ADT/Twine.h> 20 #include <llvm/Support/ELF.h> 22 namespace llvm { namespace 33 } // end namespace llvm 45 if (llvm::ELF::R_MIPS_NONE == pType) 49 llvm::ELF::R_MIPS_NONE != (type & 0xff); type >>= 8) { 64 if (pIsRel && (type() < llvm::ELF::R_MIPS_LA25_LUI || 65 type() > llvm::ELF::R_MIPS_LA25_ADD)) 73 return llvm::ELF::R_MIPS_NONE == type(); 78 return llvm [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86.h | 13 namespace llvm { namespace 15 } // namespace of llvm 25 TargetLDBackend *createX86LDBackend(const llvm::Target&, const std::string&);
|
/frameworks/compile/slang/BitWriter_2_9/ |
H A D | ReaderWriter_2_9.h | 1 //===-- llvm/Bitcode/ReaderWriter.h - Bitcode reader/writers ----*- C++ -*-===// 19 namespace llvm { namespace 26 } // End llvm namespace 34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer, 35 llvm::LLVMContext& Context, 43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer, 44 llvm::LLVMContext& Context, 50 llvm::Module *ParseBitcodeFile(llvm [all...] |
H A D | ValueEnumerator.h | 17 #include "llvm/ADT/DenseMap.h" 18 #include "llvm/ADT/SmallVector.h" 19 #include "llvm/IR/Attributes.h" 22 namespace llvm { namespace 37 } // end llvm namespace 43 typedef std::vector<llvm::Type*> TypeList; 46 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList; 48 typedef llvm::DenseMap<llvm::Type*, unsigned> TypeMapType; 52 typedef llvm [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
H A D | ReaderWriter_2_9_func.h | 1 //===-- llvm/Bitcode/ReaderWriter.h - Bitcode reader/writers ----*- C++ -*-===// 19 namespace llvm { namespace 26 } // End llvm namespace 34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer, 35 llvm::LLVMContext& Context, 43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer, 44 llvm::LLVMContext& Context, 50 llvm::Module *ParseBitcodeFile(llvm [all...] |
H A D | ValueEnumerator.h | 17 #include "llvm/ADT/DenseMap.h" 18 #include "llvm/ADT/SmallVector.h" 19 #include "llvm/IR/Attributes.h" 22 namespace llvm { namespace 37 } // end llvm namespace 43 typedef std::vector<llvm::Type*> TypeList; 46 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList; 48 typedef llvm::DenseMap<llvm::Type*, unsigned> TypeMapType; 52 typedef llvm [all...] |
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | ReaderWriter_3_2.h | 1 //===-- llvm/Bitcode/ReaderWriter.h - Bitcode reader/writers ----*- C++ -*-===// 19 namespace llvm { namespace 26 } // End llvm namespace 34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer, 35 llvm::LLVMContext& Context, 43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer, 44 llvm::LLVMContext& Context, 50 llvm::Module *ParseBitcodeFile(llvm [all...] |
H A D | ValueEnumerator.h | 17 #include "llvm/ADT/DenseMap.h" 18 #include "llvm/ADT/SmallVector.h" 19 #include "llvm/IR/Attributes.h" 22 namespace llvm { namespace 37 } // end llvm namespace 43 typedef std::vector<llvm::Type*> TypeList; 46 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList; 48 typedef llvm::DenseMap<llvm::Type*, unsigned> TypeMapType; 52 typedef llvm [all...] |
/frameworks/compile/slang/ |
H A D | rs_cc_options.h | 20 #include "llvm/Option/ArgList.h" 21 #include "llvm/Option/Option.h" 22 #include "llvm/Option/OptTable.h" 30 namespace llvm { namespace 38 // Options for the RenderScript compiler llvm-rs-cc 93 llvm::CodeGenOpt::Level mOptimizationLevel; 110 mOptimizationLevel = llvm::CodeGenOpt::Aggressive; 118 llvm::opt::OptTable *createRSCCOptTable(); 123 * \param ArgVector - the input arguments to llvm-rs-cc 128 void ParseArguments(llvm [all...] |
H A D | slang.h | 24 // Terrible workaround for TargetOptions.h not using llvm::RefCountedBase! 25 #include "llvm/ADT/IntrusiveRefCntPtr.h" 26 using llvm::RefCountedBase; 31 #include "llvm/ADT/StringRef.h" 33 #include "llvm/Target/TargetMachine.h" 38 namespace llvm { namespace 137 std::unique_ptr<llvm::tool_output_file> mOS; 140 std::unique_ptr<llvm::tool_output_file> mDOS; 163 llvm::raw_ostream *OS, 167 static const llvm [all...] |
H A D | slang_backend.h | 22 #include "llvm/PassManager.h" 24 #include "llvm/Support/FormattedStream.h" 30 namespace llvm { namespace 51 llvm::Module *mpModule; 54 llvm::raw_ostream *mpOS; 63 llvm::FunctionPassManager *mPerFunctionPasses; 65 llvm::PassManager *mPerModulePasses; 67 llvm::FunctionPassManager *mCodeGenPasses; 69 llvm::formatted_raw_ostream FormattedOutStream; 75 void WrapBitcode(llvm [all...] |
H A D | slang_diagnostic_buffer.h | 24 #include "llvm/Support/raw_ostream.h" 26 namespace llvm { namespace 36 std::unique_ptr<llvm::raw_string_ostream> mSOS;
|