/frameworks/compile/libbcc/tools/bcc_strip_attr/ |
bcc_strip_attr.cpp | 20 #include "llvm/IR/Module.h" 71 virtual bool runOnModule(Module &M) { 73 for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) { 91 static inline std::auto_ptr<Module> LoadFile(const char *argv0, 95 Module* Result = ParseIRFile(FN, Err, Context); 97 return std::auto_ptr<Module>(Result); // Load successful! 101 return std::auto_ptr<Module>(); 116 std::auto_ptr<Module> M(LoadFile(argv[0], InputFilenames[0], Context)); 137 errs() << argv[0] << ": stripped module is broken!\n";
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
FragmentGraph.h | 28 class Module; 57 bool construct(const LinkerConfig& pConfig, Module& pModule); 146 bool createRegularNodes(Module& pModule); 147 bool setNodeSlots(Module& pModule); 148 bool createPseudoNodes(Module& pModule); 150 bool createRegularEdges(Module& pModule); 151 bool createPseudoEdges(Module& pModule);
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
HexagonLDBackend.h | 51 bool allocateCommonSymbols(Module& pModule); 54 void doPostLayout(Module& pModule, IRBuilder& pBuilder); 96 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder); 98 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule); 106 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished); 129 bool mergeSection(Module& pModule, LDSection& pSection); 163 void doCreateProgramHdrs(Module& pModule);
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
MCJITCAPITest.cpp | 86 Module = 0; 95 else if (Module) 96 LLVMDisposeModule(Module); 100 Module = LLVMModuleCreateWithName("simple_module"); 102 LLVMSetTarget(Module, HostTriple.c_str()); 105 Module, "simple_function", LLVMFunctionType(LLVMInt32Type(), 0, 0, 0)); 113 LLVMVerifyModule(Module, LLVMAbortProcessAction, &Error); 138 0, LLVMCreateMCJITCompilerForModule(&Engine, Module, &Options, 147 LLVMRunPassManager(pass, Module); 151 LLVMModuleRef Module; [all...] |
/frameworks/compile/libbcc/lib/Core/ |
Source.cpp | 24 #include <llvm/IR/Module.h> 36 // reduce the startup time. On success, return the LLVM module object created 39 static inline llvm::Module *helper_load_bitcode(llvm::LLVMContext &pContext, 42 llvm::Module *module = llvm::getLazyBitcodeModule(pInput, pContext, &error); local 44 if (module == NULL) { 49 return module; 56 void Source::setModule(llvm::Module *pModule) { 74 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext local 100 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, local 161 llvm::Module *module = local [all...] |
/external/llvm/include/llvm/Bitcode/ |
ReaderWriter.h | 24 class Module; 33 Module *getLazyBitcodeModule(MemoryBuffer *Buffer, 41 Module *getStreamedBitcodeModule(const std::string &name, 55 /// ParseBitcodeFile - Read the specified bitcode file, returning the module. 58 Module *ParseBitcodeFile(MemoryBuffer *Buffer, LLVMContext &Context, 61 /// WriteBitcodeToFile - Write the specified module to the specified 64 void WriteBitcodeToFile(const Module *M, raw_ostream &Out); 66 /// createBitcodeWriterPass - Create and return a pass that writes the module
|
/external/llvm/include/llvm/IR/ |
Module.h | 1 //===-- llvm/Module.h - C++ class to represent a VM module ------*- C++ -*-===// 11 /// Module.h This file contains the declarations for the Module class. 36 : public SymbolTableListTraits<Function, Module> { 54 : public SymbolTableListTraits<GlobalVariable, Module> { 69 : public SymbolTableListTraits<GlobalAlias, Module> { 101 /// A Module instance is used to store all the information related to an 102 /// LLVM module. Modules are the top level container of all other LLVM 103 /// Intermediate Representation (IR) objects. Each module directly contains [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
Cloning.h | 29 class Module; 47 /// CloneModule - Return an exact copy of the specified module 49 Module *CloneModule(const Module *M); 50 Module *CloneModule(const Module *M, ValueToValueMapTy &VMap); 103 /// embedding the function into another module. Also, any references specified
|
/external/llvm/tools/bugpoint/ |
Miscompilation.cpp | 23 #include "llvm/IR/Module.h" 131 OwningPtr<Module> PrefixOutput(ParseInputFile(BitcodeResult, 148 OwningPtr<Module> OriginalInput(BD.swapProgramIn(PrefixOutput.take())); 178 bool (*TestFn)(BugDriver &, Module *, Module *, std::string &); 181 bool (*F)(BugDriver &, Module *, Module *, 211 /// an error, return NULL. If not, return the merged module. The Broken argument 216 static Module *TestMergedProgram(const BugDriver &BD, Module *M1, Module *M2 [all...] |
ExtractFunction.cpp | 11 // loops, or portions of a module from the rest of the module. 22 #include "llvm/IR/Module.h" 85 /// deletes the specified instruction from the cloned module. It then runs a 87 /// depends on the value. The modified module is then returned. 89 Module *BugDriver::deleteInstructionFromProgram(const Instruction *I, 92 Module *Clone = CloneModule(Program); 97 Module::iterator RFI = Clone->begin(); // Get iterator to corresponding fn 99 Module::const_iterator(PF))); 125 Module *New = runPassesOn(Clone, Passes) [all...] |
/external/chromium_org/ppapi/tests/ |
test_view.cc | 52 pp::Module::Get()->core()->CallOnMainThread( 101 PP_Time begin_time = pp::Module::Get()->core()->GetTime(); 104 pp::Module::Get()->core()->GetTime() - begin_time < 122 begin_time = pp::Module::Get()->core()->GetTime(); 125 pp::Module::Get()->core()->GetTime() - begin_time < 149 PP_Time begin_time = pp::Module::Get()->core()->GetTime(); 151 pp::Module::Get()->core()->GetTime() - begin_time < 189 PP_Time begin_time = pp::Module::Get()->core()->GetTime(); 191 pp::Module::Get()->core()->GetTime() - begin_time <
|
test_core.cc | 8 #include "ppapi/cpp/module.h" 24 pp::Core* core = pp::Module::Get()->core(); 37 pp::Core* core = pp::Module::Get()->core();
|
test_cursor_control.cc | 8 #include "ppapi/cpp/module.h" 20 pp::Module::Get()->GetBrowserInterface(PPB_CURSOR_CONTROL_DEV_INTERFACE));
|
/development/tools/idegen/src/com/android/idegen/ |
ModuleCache.java | 40 HashMap<String, Module> modulesByName = Maps.newHashMap(); 54 public Module getAndCache(String moduleName) throws IOException { 57 Module module = modulesByName.get(moduleName); local 58 if (module == null) { 61 logger.warning("Unable to find make file for module: " + moduleName); 63 module = new StandardModule(moduleName, makeFile); 64 module.build(); 65 modulesByName.put(moduleName, module); 68 return module; 82 AggregatedModule module = new AggregatedModule(aggregatedName, modules); local 98 modulesByName.put(module.getName(), module); local [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
X86LDBackend.h | 47 void doPostLayout(Module& pModule, IRBuilder& pBuilder); 81 virtual void initTargetSections(Module& pModule, ObjectBuilder& pBuilder) = 0; 83 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule); 121 void doCreateProgramHdrs(Module& pModule); 162 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder); 202 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
|
/art/compiler/jni/portable/ |
jni_compiler.h | 43 class Module; 72 ::llvm::Module* module_;
|
/external/llvm/examples/BrainF/ |
BrainF.h | 20 #include "llvm/IR/Module.h" 37 /// and returns the module with a function 41 /// The caller must delete the returned module. 42 Module *parse(std::istream *in1, int mem, CompileFlags cf, 80 Module *module; member in class:BrainF
|
/external/llvm/examples/ModuleMaker/ |
ModuleMaker.cpp | 10 // This programs is a simple example that creates an LLVM module "from scratch", 21 #include "llvm/IR/Module.h" 28 // Create the "module" or "program" or "translation unit" to hold the 30 Module *M = new Module("test", Context); 36 // By passing a module as the last parameter to the Function constructor, 37 // it automatically gets appended to the Module. 61 // Delete the module and all of its contents.
|
/external/llvm/lib/Analysis/ |
ProfileDataLoaderPass.cpp | 27 #include "llvm/IR/Module.h" 67 virtual unsigned matchEdges(Module&, ProfileData&, ArrayRef<unsigned>); 68 virtual void setBranchWeightMetadata(Module&, ProfileData&); 70 virtual bool runOnModule(Module &M); 83 /// the profiling information for the module from the specified filename, 108 unsigned ProfileMetadataLoaderPass::matchEdges(Module &M, ProfileData &PB, 114 for (Module::iterator F = M.begin(), E = M.end(); F != E; ++F) { 133 void ProfileMetadataLoaderPass::setBranchWeightMetadata(Module &M, 135 for (Module::iterator F = M.begin(), E = M.end(); F != E; ++F) { 171 bool ProfileMetadataLoaderPass::runOnModule(Module &M) [all...] |
/external/llvm/lib/ExecutionEngine/JIT/ |
JIT.h | 33 Module *M; // Module used to create the PM 40 explicit JITState(Module *M) : PM(M), M(M) {} 46 Module *getModule() const { return M; } 81 JIT(Module *M, TargetMachine &tm, TargetJITInfo &tji, 97 static ExecutionEngine *create(Module *M, 109 virtual void addModule(Module *M); 111 /// removeModule - Remove a Module from the list of modules. Returns true if 113 virtual bool removeModule(Module *M); 185 static ExecutionEngine *createJIT(Module *M [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonTargetMachine.h | 27 class Module; 72 static unsigned getModuleMatchQuality(const Module &M);
|
/external/llvm/lib/Target/SystemZ/ |
SystemZAsmPrinter.h | 21 class Module; 48 virtual void EmitEndOfAsmFile(Module &M) LLVM_OVERRIDE;
|
/frameworks/compile/mclinker/lib/LD/ |
Relocator.cpp | 14 #include <mcld/Module.h> 26 Module& pModule,
|
/external/chromium_org/ppapi/cpp/ |
graphics_3d_client.cc | 10 #include "ppapi/cpp/module.h" 35 Module::Get()->AddPluginInterface(kPPPGraphics3DInterface,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
AMDILIntrinsicInfo.h | 40 Function *getDeclaration(Module *M, unsigned int ID,
|