/frameworks/compile/libbcc/include/bcc/ |
H A D | Compiler.h | 20 namespace llvm { namespace 27 } // end namespace llvm 77 llvm::TargetMachine *mTarget; 82 enum ErrorCode runCodeGen(Script &pScript, llvm::raw_ostream &pResult); 94 enum ErrorCode compile(Script &pScript, llvm::raw_ostream &pResult, 95 llvm::raw_ostream *IRStream); 99 llvm::raw_ostream *IRStream = 0); 101 const llvm::TargetMachine& getTargetMachine() const 114 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) 118 virtual bool afterAddLTOPasses(Script &pScript, llvm [all...] |
/frameworks/compile/libbcc/include/bcc/Renderscript/ |
H A D | RSScript.h | 24 namespace llvm { namespace 26 } // end namespace llvm 35 // This is one-one mapping with the llvm::CodeGenOpt::Level in 36 // llvm/Support/CodeGen.h. Therefore, value of this type can safely cast 37 // to llvm::CodeGenOpt::Level. This makes RSScript LLVM-free.
|
H A D | RSInfo.h | 30 namespace llvm { namespace 43 typedef llvm::Module* (*RSLinkRuntimeCallback) (bcc::RSScript *, llvm::Module *, llvm::Module *);
|
/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; 61 const llvm [all...] |
/frameworks/compile/libbcc/include/bcinfo/ |
H A D | MetadataExtractor.h | 23 namespace llvm { namespace 38 const llvm::Module *mModule; 63 bool populateVarNameMetadata(const llvm::NamedMDNode *VarNameMetadata); 64 bool populateFuncNameMetadata(const llvm::NamedMDNode *FuncNameMetadata); 65 bool populateForEachMetadata(const llvm::NamedMDNode *Names, 66 const llvm::NamedMDNode *Signatures); 67 bool populateObjectSlotMetadata(const llvm::NamedMDNode *ObjectSlotMetadata); 68 void populatePragmaMetadata(const llvm::NamedMDNode *PragmaMetadata); 84 MetadataExtractor(const llvm::Module *module);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | TargetRegistry.h | 11 #include <llvm/Support/TargetRegistry.h> 15 namespace llvm { namespace 20 } // namespace of llvm 38 /// Target - mcld::Target is an object adapter of llvm::Target 46 llvm::TargetMachine &, 56 typedef TargetLDBackend *(*TargetLDBackendCtorTy)(const llvm::Target&, 65 void setTarget(const llvm::Target& pTarget) 70 const llvm::TargetOptions &Options, 71 llvm::Reloc::Model RM = llvm 68 createTargetMachine(const std::string &pTriple, const std::string &pCPU, const std::string &pFeatures, const llvm::TargetOptions &Options, llvm::Reloc::Model RM = llvm::Reloc::Default, llvm::CodeModel::Model CM = llvm::CodeModel::Default, llvm::CodeGenOpt::Level OL = llvm::CodeGenOpt::Default) const argument [all...] |
/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/slang/ |
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/OwningPtr.h" 32 #include "llvm/ADT/StringRef.h" 34 #include "llvm/Target/TargetMachine.h" 39 namespace llvm { namespace 85 llvm::OwningPtr<clang::Diagnostic> mDiag; 95 llvm::IntrusiveRefCntPtr<clang::TargetOptions> mTargetOpts; 96 llvm [all...] |
H A D | slang_rs_context.h | 28 #include "llvm/ADT/OwningPtr.h" 29 #include "llvm/ADT/StringSet.h" 30 #include "llvm/ADT/StringMap.h" 34 namespace llvm { namespace 37 } // namespace llvm 55 typedef llvm::StringSet<> NeedExportVarSet; 56 typedef llvm::StringSet<> NeedExportFuncSet; 57 typedef llvm::StringSet<> NeedExportTypeSet; 64 typedef llvm::StringMap<RSExportType*> ExportTypeMap; 74 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" 56 namespace llvm { namespace 58 } // namespace llvm 108 mutable llvm::Type *mLLVMType; 115 const llvm::StringRef &Name); 126 const llvm::StringRef &TypeName); 128 static 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/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 209 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/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/IRBuilder.h" 25 #include "llvm/I 489 namespace llvm { namespace [all...] |