search for: binaryexprast

Displaying 8 results from an estimated 8 matches for "binaryexprast".

2010 Feb 07
3
[LLVMdev] Help with Mac OS X 10.6.2 build
...bLLVMSupport.a, file is not of required architecture ld: warning: in /opt/llvm/lib/libLLVMSystem.a, file is not of required architecture Undefined symbols: "llvm::SymbolTableListTraits<llvm::Instruction, llvm::BasicBlock>::addNodeToList(llvm::Instruction*)", referenced from: BinaryExprAST::Codegen() in ccHkdHVT.o BinaryExprAST::Codegen() in ccHkdHVT.o CallExprAST::Codegen() in ccHkdHVT.o FunctionAST::Codegen() in ccHkdHVT.o llvm::IRBuilder<true, llvm::ConstantFolder>::InsertHelper(llvm::Instruction*, llvm::Twine const&) constin c...
2010 Feb 07
0
[LLVMdev] Help with Mac OS X 10.6.2 build
...ed architecture > ld: warning: in /opt/llvm/lib/libLLVMSystem.a, file is not of required > architecture > Undefined symbols: > "llvm::SymbolTableListTraits<llvm::Instruction, > llvm::BasicBlock>::addNodeToList(llvm::Instruction*)", referenced > from: > BinaryExprAST::Codegen() in ccHkdHVT.o > BinaryExprAST::Codegen() in ccHkdHVT.o > CallExprAST::Codegen() in ccHkdHVT.o > FunctionAST::Codegen() in ccHkdHVT.o > llvm::IRBuilder<true, > llvm::ConstantFolder>::InsertHelper(llvm::Instruction*, llvm...
2010 Feb 17
2
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...Val(val) {} virtual Value *Codegen(); }; /// VariableExprAST - Expression class for referencing a variable, like "a". class VariableExprAST : public ExprAST { std::string Name; public: VariableExprAST(const std::string &name) : Name(name) {} virtual Value *Codegen(); }; /// BinaryExprAST - Expression class for a binary operator. class BinaryExprAST : public ExprAST { char Op; ExprAST *LHS, *RHS; public: BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) : Op(op), LHS(lhs), RHS(rhs) {} virtual Value *Codegen(); }; /// CallExprAST - Expression class for function calls. c...
2010 Feb 17
0
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...gt; /// VariableExprAST - Expression class for referencing a variable, like > "a". > class VariableExprAST : public ExprAST { > std::string Name; > public: > VariableExprAST(const std::string &name) : Name(name) {} > virtual Value *Codegen(); > }; > > /// BinaryExprAST - Expression class for a binary operator. > class BinaryExprAST : public ExprAST { > char Op; > ExprAST *LHS, *RHS; > public: > BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) > : Op(op), LHS(lhs), RHS(rhs) {} > virtual Value *Codegen(); > }; > > /// CallExpr...
2010 Jan 04
4
[LLVMdev] Getting Kaleidoscope to compile
...ext.h: No such file or directory toy.cpp:352: error: ‘getGlobalContext’ was not declared in this scope toy.cpp: In member function ‘virtual llvm::Value* NumberExprAST::Codegen()’: toy.cpp:358: error: ‘getGlobalContext’ was not declared in this scope toy.cpp: In member function ‘virtual llvm::Value* BinaryExprAST::Codegen()’: toy.cpp:379: error: ‘getDoubleTy’ is not a member of ‘llvm::Type’ toy.cpp:379: error: ‘getGlobalContext’ was not declared in this scope toy.cpp: In member function ‘llvm::Function* PrototypeAST::Codegen()’: toy.cpp:407: error: ‘getDoubleTy’ is not a member of ‘llvm::Type’ toy.cpp:407:...
2010 Feb 17
1
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...class for referencing a variable, like >> "a". >> class VariableExprAST : public ExprAST { >>  std::string Name; >> public: >>  VariableExprAST(const std::string &name) : Name(name) {} >>  virtual Value *Codegen(); >> }; >> >> /// BinaryExprAST - Expression class for a binary operator. >> class BinaryExprAST : public ExprAST { >>  char Op; >>  ExprAST *LHS, *RHS; >> public: >>  BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) >>    : Op(op), LHS(lhs), RHS(rhs) {} >>  virtual Value *Codegen(); &g...
2010 Jan 04
0
[LLVMdev] Getting Kaleidoscope to compile
...ry > toy.cpp:352: error: ‘getGlobalContext’ was not declared in this scope > toy.cpp: In member function ‘virtual llvm::Value* > NumberExprAST::Codegen()’: > toy.cpp:358: error: ‘getGlobalContext’ was not declared in this scope > toy.cpp: In member function ‘virtual llvm::Value* > BinaryExprAST::Codegen()’: > toy.cpp:379: error: ‘getDoubleTy’ is not a member of ‘llvm::Type’ > toy.cpp:379: error: ‘getGlobalContext’ was not declared in this scope > toy.cpp: In member function ‘llvm::Function* PrototypeAST::Codegen()’: > toy.cpp:407: error: ‘getDoubleTy’ is not a member of ‘llvm:...
2010 Jan 04
2
[LLVMdev] Getting Kaleidoscope to compile
...error: ‘getGlobalContext’ was not declared in this scope >> toy.cpp: In member function ‘virtual llvm::Value* >> NumberExprAST::Codegen()’: >> toy.cpp:358: error: ‘getGlobalContext’ was not declared in this scope >> toy.cpp: In member function ‘virtual llvm::Value* >> BinaryExprAST::Codegen()’: >> toy.cpp:379: error: ‘getDoubleTy’ is not a member of ‘llvm::Type’ >> toy.cpp:379: error: ‘getGlobalContext’ was not declared in this scope >> toy.cpp: In member function ‘llvm::Function* PrototypeAST::Codegen()’: >> toy.cpp:407: error: ‘getDoubleTy’ is not a...