Searched defs:llvm (Results 1 - 25 of 35) sorted by last modified time

12

/frameworks/compile/slang/BitWriter_2_9/
H A DReaderWriter_2_9.h1 //===-- 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 DValueEnumerator.h17 #include "llvm/ADT/DenseMap.h"
18 #include "llvm/ADT/SmallVector.h"
19 #include "llvm/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 DReaderWriter_2_9_func.h1 //===-- 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 DValueEnumerator.h17 #include "llvm/ADT/DenseMap.h"
18 #include "llvm/ADT/SmallVector.h"
19 #include "llvm/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 Dslang.h27 #include "llvm/ADT/IntrusiveRefCntPtr.h"
28 #include "llvm/ADT/OwningPtr.h"
29 #include "llvm/ADT/StringRef.h"
31 #include "llvm/Target/TargetMachine.h"
36 namespace llvm { namespace
82 llvm::OwningPtr<clang::Diagnostic> mDiag;
93 llvm::OwningPtr<clang::TargetInfo> mTarget;
99 llvm::OwningPtr<clang::FileManager> mFileMgr;
100 llvm::OwningPtr<clang::FileSystemOptions> mFileSysOpt;
105 llvm
[all...]
H A Dslang_backend.h22 #include "llvm/PassManager.h"
24 #include "llvm/Support/FormattedStream.h"
30 namespace llvm { namespace
53 llvm::Module *mpModule;
56 llvm::raw_ostream *mpOS;
65 llvm::FunctionPassManager *mPerFunctionPasses;
67 llvm::PassManager *mPerModulePasses;
69 llvm::FunctionPassManager *mCodeGenPasses;
71 llvm::formatted_raw_ostream FormattedOutStream;
77 void WrapBitcode(llvm
[all...]
H A Dslang_diagnostic_buffer.h24 #include "llvm/Support/raw_ostream.h"
26 namespace llvm { namespace
36 llvm::OwningPtr<llvm::raw_string_ostream> mSOS;
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 *mExportElementMetadata;
59 llvm::NamedMDNode *mRSObjectSlotsMetadata;
76 virtual void HandleTranslationUnitPost(llvm::Module *M);
84 llvm
[all...]
H A Dslang_rs_context.h28 #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 Dslang_rs_export_func.h23 #include "llvm/ADT/StringRef.h"
24 #include "llvm/Support/raw_ostream.h"
32 namespace llvm { namespace
53 RSExportFunc(RSContext *Context, const llvm::StringRef &Name,
64 llvm::raw_string_ostream BufStm(mMangledName);
104 bool checkParameterPacketType(llvm::StructType *ParamTy) const;
H A Dslang_rs_export_type.h28 #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...]
H A Dslang_rs_metadata_spec.h37 namespace llvm { namespace
57 RSMetadataEncoder *CreateRSMetadataEncoder(llvm::Module *M);
82 // struct RSMetadata *RSDecodeMetadata(llvm::Module *M);
H A Dslang_utils.h22 namespace llvm { namespace
33 static bool CreateDirectoryWithParents(llvm::StringRef Dir,
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitReader_2_7.h18 #include "llvm/GVMaterializer.h"
19 #include "llvm/Attributes.h"
20 #include "llvm/Type.h"
21 #include "llvm/OperandTraits.h"
22 #include "llvm/Bitcode/BitstreamReader.h"
23 #include "llvm/Bitcode/LLVMBitCodes.h"
24 #include "llvm/Support/ValueHandle.h"
25 #include "llvm/ADT/DenseMap.h"
28 namespace llvm { namespace
32 } // End llvm namespac
[all...]
H A DBitcodeReader.cpp17 #include "llvm/Bitcode/ReaderWriter.h"
18 #include "llvm/Constants.h"
19 #include "llvm/DerivedTypes.h"
20 #include "llvm/InlineAsm.h"
21 #include "llvm/IntrinsicInst.h"
22 #include "llvm/Module.h"
23 #include "llvm/Operator.h"
24 #include "llvm/AutoUpgrade.h"
25 #include "llvm/ADT/SmallString.h"
26 #include "llvm/AD
210 namespace llvm { namespace
[all...]
H A DBitcodeReader.h17 #include "llvm/GVMaterializer.h"
18 #include "llvm/Attributes.h"
19 #include "llvm/Type.h"
20 #include "llvm/OperandTraits.h"
21 #include "llvm/Bitcode/BitstreamReader.h"
22 #include "llvm/Bitcode/LLVMBitCodes.h"
23 #include "llvm/Support/ValueHandle.h"
24 #include "llvm/ADT/DenseMap.h"
27 namespace llvm { namespace
34 using namespace llvm;
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitReader_3_0.h17 #include "llvm/GVMaterializer.h"
18 #include "llvm/Attributes.h"
19 #include "llvm/Type.h"
20 #include "llvm/OperandTraits.h"
21 #include "llvm/Bitcode/BitstreamReader.h"
22 #include "llvm/Bitcode/LLVMBitCodes.h"
23 #include "llvm/Support/ValueHandle.h"
24 #include "llvm/ADT/DenseMap.h"
27 namespace llvm { namespace
31 } // End llvm namespac
[all...]
H A DBitcodeReader.cpp14 #include "llvm/Bitcode/ReaderWriter.h"
17 #include "llvm/Constants.h"
18 #include "llvm/DerivedTypes.h"
19 #include "llvm/InlineAsm.h"
20 #include "llvm/IntrinsicInst.h"
21 #include "llvm/IRBuilder.h"
22 #include "llvm/Module.h"
23 #include "llvm/Operator.h"
24 #include "llvm/AutoUpgrade.h"
25 #include "llvm/AD
489 namespace llvm { namespace
[all...]
H A DBitcodeReader.h17 #include "llvm/GVMaterializer.h"
18 #include "llvm/Attributes.h"
19 #include "llvm/Type.h"
20 #include "llvm/OperandTraits.h"
21 #include "llvm/Bitcode/BitstreamReader.h"
22 #include "llvm/Bitcode/LLVMBitCodes.h"
23 #include "llvm/Support/ValueHandle.h"
24 #include "llvm/ADT/DenseMap.h"
27 namespace llvm { namespace
34 using namespace llvm;
[all...]
/frameworks/compile/libbcc/include/bcc/AndroidBitcode/
H A DABCExpandVAArgPass.h20 #include <llvm/Pass.h>
22 namespace llvm { namespace
27 } // end llvm namespace
32 * This pass expands va_arg LLVM instruction generated from llvm-ndk-cc.
40 class ABCExpandVAArgPass : public llvm::FunctionPass {
45 llvm::LLVMContext *mContext;
48 virtual llvm::Value *expandVAArg(llvm::Instruction *pInst) = 0;
51 ABCExpandVAArgPass() : llvm::FunctionPass(ID), mContext(NULL) { }
53 virtual bool runOnFunction(llvm
[all...]
/frameworks/compile/libbcc/include/bcc/
H A DBCCContext.h20 namespace llvm { namespace
39 llvm::LLVMContext &getLLVMContext();
40 const llvm::LLVMContext &getLLVMContext() const;
H A DCompiler.h20 namespace llvm { namespace
27 } // end namespace llvm
78 llvm::TargetMachine *mTarget;
83 enum ErrorCode runCodeGen(Script &pScript, llvm::raw_ostream &pResult);
92 enum ErrorCode compile(Script &pScript, llvm::raw_ostream &pResult);
97 const llvm::TargetMachine& getTargetMachine() const
110 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM)
114 virtual bool afterAddLTOPasses(Script &pScript, llvm::PassManager &pPM)
119 llvm::PassManager &pPM)
127 virtual bool beforeAddCodeGenPasses(Script &pScript, llvm
[all...]
H A DSource.h22 namespace llvm { namespace
33 llvm::Module *mModule;
39 Source(BCCContext &pContext, llvm::Module &pModule, bool pNoDelete = false);
55 llvm::Module &pModule,
69 inline llvm::Module &getModule()
71 inline const llvm::Module &getModule() const
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSTransforms.h22 namespace llvm { namespace
28 llvm::ModulePass *
/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;
61 const llvm
[all...]

Completed in 153 milliseconds

12