Home | History | Annotate | Download | only in lazy

Lines Matching refs:Name

129   std::string Name;
131 VariableExprAST(const std::string &name) : Name(name) {}
132 const std::string &getName() const { return Name; }
201 std::string Name;
206 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
208 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
215 return Name[Name.size()-1];
398 // At least one variable name is required.
403 std::string Name = IdentifierStr;
415 VarNames.push_back(std::make_pair(Name, Init));
526 return ErrorP("Expected function name in prototype");
620 std::string MakeLegalFunctionName(std::string Name)
623 if (!Name.length())
627 NewName = Name;
660 void *getPointerToNamedFunction(const std::string &Name);
688 /// If \p AbortOnFailure is false and no function with the given name is
691 virtual void *getPointerToNamedFunction(const std::string &Name,
697 void *HelpingMemoryManager::getPointerToNamedFunction(const std::string &Name,
701 void *pfn = SectionMemoryManager::getPointerToNamedFunction(Name, false);
705 pfn = MasterHelper->getPointerToNamedFunction(Name);
707 report_fatal_error("Program used external function '" + Name +
856 void *MCJITHelper::getPointerToNamedFunction(const std::string &Name)
863 Function *F = (*it)->getFunction(Name);
916 Value *V = NamedValues[Name];
918 sprintf(ErrStr, "Unknown variable name %s", Name.c_str());
922 return Builder.CreateLoad(V, Name.c_str());
947 // Look up the name.
949 if (Variable == 0) return ErrorV("Unknown variable name");
982 // Look up the name in the global module table.
1203 std::string FnName = MakeLegalFunctionName(Name);
1214 F = M->getFunction(Name);