Home | History | Annotate | Download | only in cached

Lines Matching refs:Name

33               cl::desc("Specify the name of an IR file to load for function definitions"),
34 cl::value_desc("input IR file name"));
143 std::string Name;
145 VariableExprAST(const std::string &name) : Name(name) {}
146 const std::string &getName() const { return Name; }
215 std::string Name;
220 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
222 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
229 return Name[Name.size()-1];
412 // At least one variable name is required.
417 std::string Name = IdentifierStr;
429 VarNames.push_back(std::make_pair(Name, Init));
540 return ErrorP("Expected function name in prototype");
647 Value *V = NamedValues[Name];
648 if (V == 0) return ErrorV("Unknown variable name");
651 return Builder.CreateLoad(V, Name.c_str());
682 // Look up the name.
684 if (Variable == 0) return ErrorV("Unknown variable name");
717 // Look up the name in the global module table.
941 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
942 // If F conflicted, there was already something named 'Name'. If it has a
944 if (F->getName() != Name) {
947 F = TheModule->getFunction(Name);