Home | History | Annotate | Download | only in complete

Lines Matching defs:Name

36               cl::desc("Specify the name of an IR file to load for function definitions"),
37 cl::value_desc("input IR file name"));
169 std::string Name;
171 VariableExprAST(const std::string &name) : Name(name) {}
172 const std::string &getName() const { return Name; }
241 std::string Name;
246 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
248 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
255 return Name[Name.size()-1];
438 // At least one variable name is required.
443 std::string Name = IdentifierStr;
455 VarNames.push_back(std::make_pair(Name, Init));
566 return ErrorP("Expected function name in prototype");
660 std::string MakeLegalFunctionName(std::string Name)
663 if (!Name.length())
667 NewName = Name;
784 virtual void *getPointerToNamedFunction(const std::string &Name) = 0;
810 void *getPointerToNamedFunction(const std::string &Name);
845 /// If \p AbortOnFailure is false and no function with the given name is
848 virtual void *getPointerToNamedFunction(const std::string &Name,
854 void *HelpingMemoryManager::getPointerToNamedFunction(const std::string &Name,
858 void *pfn = RTDyldMemoryManager::getPointerToNamedFunction(Name, false);
862 pfn = MasterHelper->getPointerToNamedFunction(Name);
864 report_fatal_error("Program used external function '" + Name +
1030 void *MCJITHelper::getPointerToNamedFunction(const std::string &Name)
1037 Function *F = (*it)->getFunction(Name);
1090 Value *V = NamedValues[Name];
1091 if (V == 0) return ErrorV("Unknown variable name");
1094 return Builder.CreateLoad(V, Name.c_str());
1123 // Look up the name.
1125 if (Variable == 0) return ErrorV("Unknown variable name");
1159 // Look up the name in the global module table.
1384 FnName = MakeLegalFunctionName(Name);
1391 // If F conflicted, there was already something named 'Name'. If it has a