Lines Matching defs:Module

36 #include <llvm/IR/Module.h>
124 llvm::Module *Module;
135 // Initialized when we begin to process each Module
146 Module->getNamedMetadata("#rs_export_foreach");
345 OldName + ".expand", Module);
377 OldName + ".expand", Module);
542 : ModulePass(ID), Module(nullptr), Context(nullptr),
681 if (mStructExplicitlyPaddedBySlang || (Module->getTargetTriple() != DEFAULT_X86_TRIPLE_STRING)) {
735 if (mStructExplicitlyPaddedBySlang || (Module->getTargetTriple() != DEFAULT_X86_TRIPLE_STRING)) {
774 * Module will contain a new function of the name "<NAME>.expand" that
790 llvm::DataLayout DL(Module);
791 if (!mStructExplicitlyPaddedBySlang && (Module->getTargetTriple() == DEFAULT_X86_TRIPLE_STRING)) {
923 llvm::DataLayout DL(Module);
924 if (!mStructExplicitlyPaddedBySlang && (Module->getTargetTriple() == DEFAULT_X86_TRIPLE_STRING)) {
1008 if (mStructExplicitlyPaddedBySlang || (Module->getTargetTriple() != DEFAULT_X86_TRIPLE_STRING)) {
1060 if (mStructExplicitlyPaddedBySlang || (Module->getTargetTriple() != DEFAULT_X86_TRIPLE_STRING)) {
1111 llvm::Function *Fn = Module->getFunction(Name);
1244 Module);
1296 bool allocPointersExposed(llvm::Module &Module) {
1303 if (Module.getFunction(Name) &&
1333 llvm::Function *Function = Module.getFunction(FI);
1358 void connectRenderScriptTBAAMetadata(llvm::Module &Module) {
1368 virtual bool runOnModule(llvm::Module &Module) {
1370 this->Module = &Module;
1371 Context = &Module.getContext();
1375 bcinfo::MetadataExtractor me(&Module);
1391 llvm::Function *kernel = Module.getFunction(name);
1419 llvm::Function *accumulator = Module.getFunction(ExportReduceList[i].mAccumulatorName);
1431 if (gEnableRsTbaa && !allocPointersExposed(Module)) {
1432 connectRenderScriptTBAAMetadata(Module);