/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/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_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.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_rs_context.h | 28 #include "llvm/ADT/StringSet.h" 29 #include "llvm/ADT/StringMap.h" 33 namespace llvm { namespace 36 } // namespace llvm 54 typedef llvm::StringSet<> NeedExportVarSet; 55 typedef llvm::StringSet<> NeedExportFuncSet; 56 typedef llvm::StringSet<> NeedExportTypeSet; 63 typedef llvm::StringMap<RSExportType*> ExportTypeMap; 75 llvm::DataLayout *mDataLayout; 76 llvm [all...] |
H A D | slang_rs_export_type.h | 28 #include "llvm/ADT/SmallPtrSet.h" 29 #include "llvm/ADT/StringMap.h" 30 #include "llvm/ADT/StringRef.h" 32 #include "llvm/Support/ManagedStatic.h" 70 namespace llvm { namespace 72 } // namespace llvm 166 inline bool IsDummyName(const llvm::StringRef &Name) { 189 mutable llvm::Type *mLLVMType; 194 const llvm::StringRef &Name); 205 const llvm [all...] |
/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/libbcc/include/bcc/ |
H A D | Compiler.h | 20 namespace llvm { namespace 32 } // end namespace llvm 82 llvm::TargetMachine *mTarget; 87 enum ErrorCode runCodeGen(Script &pScript, llvm::raw_ostream &pResult); 99 enum ErrorCode compile(Script &pScript, llvm::raw_ostream &pResult, 100 llvm::raw_ostream *IRStream); 104 llvm::raw_ostream *IRStream = 0); 106 const llvm::TargetMachine& getTargetMachine() const 119 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) 123 virtual bool afterAddLTOPasses(Script &pScript, llvm [all...] |
/frameworks/compile/libbcc/include/bcc/Support/ |
H A D | CompilerConfig.h | 23 #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/compile/mclinker/include/mcld/Support/ |
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...] |
/frameworks/compile/libbcc/include/bcinfo/ |
H A D | MetadataExtractor.h | 23 namespace llvm { namespace 37 const llvm::Module *mModule; 62 bool populateVarNameMetadata(const llvm::NamedMDNode *VarNameMetadata); 63 bool populateFuncNameMetadata(const llvm::NamedMDNode *FuncNameMetadata); 64 bool populateForEachMetadata(const llvm::NamedMDNode *Names, 65 const llvm::NamedMDNode *Signatures); 66 bool populateObjectSlotMetadata(const llvm::NamedMDNode *ObjectSlotMetadata); 67 void populatePragmaMetadata(const llvm::NamedMDNode *PragmaMetadata); 83 MetadataExtractor(const llvm::Module *module);
|
/frameworks/compile/slang/BitWriter_2_9/ |
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 | 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 | 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/libbcc/include/bcc/Renderscript/ |
H A D | RSInfo.h | 31 namespace llvm { namespace 44 typedef llvm::Module* (*RSLinkRuntimeCallback) (bcc::RSScript *, llvm::Module *, llvm::Module *);
|
/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/libbcc/bcinfo/BitReader_2_7/ |
H A D | BitcodeReader.cpp | 14 #include "llvm/Bitcode/ReaderWriter.h" 17 #include "llvm/ADT/SmallString.h" 18 #include "llvm/ADT/SmallVector.h" 19 #include "llvm/IR/AutoUpgrade.h" 20 #include "llvm/IR/Constants.h" 21 #include "llvm/IR/DerivedTypes.h" 22 #include "llvm/IR/InlineAsm.h" 23 #include "llvm/IR/IntrinsicInst.h" 24 #include "llvm/IR/Module.h" 25 #include "llvm/I 201 namespace llvm { namespace [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
H A D | BitcodeReader.cpp | 14 #include "llvm/Bitcode/ReaderWriter.h" 17 #include "llvm/ADT/SmallString.h" 18 #include "llvm/ADT/SmallVector.h" 19 #include "llvm/IR/AutoUpgrade.h" 20 #include "llvm/IR/CFG.h" 21 #include "llvm/IR/Constants.h" 22 #include "llvm/IR/DerivedTypes.h" 23 #include "llvm/IR/InlineAsm.h" 24 #include "llvm/IR/IntrinsicInst.h" 25 #include "llvm/I 480 namespace llvm { namespace [all...] |