Lines Matching defs:Module
30 #include <llvm/IR/Module.h>
103 llvm::Module *Module;
123 Module->getNamedMetadata("#rs_export_foreach");
322 OldName + ".expand", Module);
354 OldName + ".expand", Module);
519 : ModulePass(ID), Module(nullptr), Context(nullptr),
658 if (Module->getTargetTriple() != DEFAULT_X86_TRIPLE_STRING) {
712 if (Module->getTargetTriple() != DEFAULT_X86_TRIPLE_STRING) {
751 * Module will contain a new function of the name "<NAME>.expand" that
767 llvm::DataLayout DL(Module);
768 if (Module->getTargetTriple() == DEFAULT_X86_TRIPLE_STRING) {
900 llvm::DataLayout DL(Module);
901 if (Module->getTargetTriple() == DEFAULT_X86_TRIPLE_STRING) {
985 if (Module->getTargetTriple() != DEFAULT_X86_TRIPLE_STRING) {
1037 if (Module->getTargetTriple() != DEFAULT_X86_TRIPLE_STRING) {
1088 llvm::Function *Fn = Module->getFunction(Name);
1221 Module);
1273 bool allocPointersExposed(llvm::Module &Module) {
1280 if (Module.getFunction(Name) &&
1310 llvm::Function *Function = Module.getFunction(FI);
1335 void connectRenderScriptTBAAMetadata(llvm::Module &Module) {
1345 virtual bool runOnModule(llvm::Module &Module) {
1347 this->Module = &Module;
1348 Context = &Module.getContext();
1352 bcinfo::MetadataExtractor me(&Module);
1366 llvm::Function *kernel = Module.getFunction(name);
1394 llvm::Function *accumulator = Module.getFunction(ExportReduceList[i].mAccumulatorName);
1406 if (gEnableRsTbaa && !allocPointersExposed(Module)) {
1407 connectRenderScriptTBAAMetadata(Module);