Home | History | Annotate | Download | only in initial

Lines Matching refs:Name

127   std::string Name;
129 VariableExprAST(const std::string &name) : Name(name) {}
130 const std::string &getName() const { return Name; }
199 std::string Name;
204 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
206 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
213 return Name[Name.size()-1];
396 // At least one variable name is required.
401 std::string Name = IdentifierStr;
413 VarNames.push_back(std::make_pair(Name, Init));
524 return ErrorP("Expected function name in prototype");
618 std::string MakeLegalFunctionName(std::string Name)
621 if (!Name.length())
625 NewName = Name;
658 void *getPointerToNamedFunction(const std::string &Name);
685 /// If \p AbortOnFailure is false and no function with the given name is
688 virtual void *getPointerToNamedFunction(const std::string &Name,
694 void *HelpingMemoryManager::getPointerToNamedFunction(const std::string &Name,
698 void *pfn = SectionMemoryManager::getPointerToNamedFunction(Name, false);
702 pfn = MasterHelper->getPointerToNamedFunction(Name);
704 report_fatal_error("Program used external function '" + Name +
827 void *MCJITHelper::getPointerToNamedFunction(const std::string &Name)
834 if (Function *F = (*it)->FindFunctionNamed(Name.c_str()))
876 Value *V = NamedValues[Name];
878 sprintf(ErrStr, "Unknown variable name %s", Name.c_str());
882 return Builder.CreateLoad(V, Name.c_str());
907 // Look up the name.
909 if (Variable == 0) return ErrorV("Unknown variable name");
942 // Look up the name in the global module table.
1163 std::string FnName = MakeLegalFunctionName(Name);
1174 F = M->getFunction(Name);