Lines Matching refs:Name
36 cl::desc("Specify the name of an IR file to load for function definitions"),
37 cl::value_desc("input IR file name"));
150 std::string Name;
152 VariableExprAST(const std::string &name) : Name(name) {}
153 const std::string &getName() const { return Name; }
222 std::string Name;
227 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
229 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
236 return Name[Name.size()-1];
419 // At least one variable name is required.
424 std::string Name = IdentifierStr;
436 VarNames.push_back(std::make_pair(Name, Init));
547 return ErrorP("Expected function name in prototype");
641 std::string MakeLegalFunctionName(std::string Name)
644 if (!Name.length())
648 NewName = Name;
747 void *getPointerToNamedFunction(const std::string &Name);
777 /// If \p AbortOnFailure is false and no function with the given name is
780 virtual void *getPointerToNamedFunction(const std::string &Name,
786 void *HelpingMemoryManager::getPointerToNamedFunction(const std::string &Name,
790 void *pfn = SectionMemoryManager::getPointerToNamedFunction(Name, false);
794 pfn = MasterHelper->getPointerToNamedFunction(Name);
796 report_fatal_error("Program used external function '" + Name +
954 void *MCJITHelper::getPointerToNamedFunction(const std::string &Name)
961 Function *F = (*it)->getFunction(Name);
1018 Value *V = NamedValues[Name];
1020 sprintf(ErrStr, "Unknown variable name %s", Name.c_str());
1024 return Builder.CreateLoad(V, Name.c_str());
1049 // Look up the name.
1051 if (Variable == 0) return ErrorV("Unknown variable name");
1084 // Look up the name in the global module table.
1305 std::string FnName = MakeLegalFunctionName(Name);
1316 F = M->getFunction(Name);