Displaying 13 results from an estimated 13 matches for "numberexprast".
2010 Feb 07
3
[LLVMdev] Help with Mac OS X 10.6.2 build
...o
CallExprAST::Codegen() in ccHkdHVT.o
FunctionAST::Codegen() in ccHkdHVT.o
llvm::IRBuilder<true,
llvm::ConstantFolder>::InsertHelper(llvm::Instruction*, llvm::Twine
const&) constin ccHkdHVT.o
"llvm::APFloat::APFloat(double)", referenced from:
NumberExprAST::Codegen() in ccHkdHVT.o
"llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine
const&, llvm::Function*, llvm::BasicBlock*)", referenced from:
FunctionAST::Codegen() in ccHkdHVT.o
"llvm::Module::getFunction(llvm::StringRef const&) const", r...
2012 Nov 06
3
[LLVMdev] Error while linking LLVM files
...-MF"src/lunac.d" -MT"src/lunac.d" -o "src/test.o"
"../src/test.cpp"
(which compiles fine)
and:
Invoking: Cross G++ Linker
g++ `llvm-config --cppflags --ldflags --libs core` -o "test" ./src/test.o
which gives me error:
./src/test.o: In function `NumberExprAST::Codegen()':
/home/wdanilo/dev/lunac/Debug/../src/test.cpp:358: undefined reference to
`llvm::APFloat::APFloat(double)'
/home/wdanilo/dev/lunac/Debug/../src/test.cpp:358: undefined reference to
`llvm::getGlobalContext()'
/home/wdanilo/dev/lunac/Debug/../src/test.cpp:358: undefined refer...
2008 Jun 09
7
[LLVMdev] regression? Or did I do something wrong again?
...pe in llvm with C++ is part of your
regression suite, but with the version of llvm I installed
last weekend, it does not compile:
hendrik at lovesong:~/dv/llvm/tut$ g++ -g toy.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o toy
toy.cpp: In member function ‘virtual llvm::Value* NumberExprAST::Codegen()’:
toy.cpp:359: error: no matching function for call to ‘llvm::ConstantFP::get(const llvm::Type*&, llvm::APFloat)’
/usr/local/llvm/include/llvm/Constants.h:237: note: candidates are: static llvm::ConstantFP* llvm::ConstantFP::get(const llvm::APFloat&)
/usr/local/llvm/include/llvm/...
2010 Feb 17
2
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...--------------------------------===//
// Abstract Syntax Tree (aka Parse Tree)
//===----------------------------------------------------------------------===//
/// ExprAST - Base class for all expression nodes.
class ExprAST {
public:
virtual ~ExprAST() {}
virtual Value *Codegen() = 0;
};
/// NumberExprAST - Expression class for numeric literals like "1.0".
class NumberExprAST : public ExprAST {
double Val;
public:
NumberExprAST(double val) : Val(val) {}
virtual Value *Codegen();
};
/// VariableExprAST - Expression class for referencing a variable, like "a".
class VariableE...
2010 Feb 17
0
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...yntax Tree (aka Parse Tree)
>
> //===----------------------------------------------------------------------===//
>
> /// ExprAST - Base class for all expression nodes.
> class ExprAST {
> public:
> virtual ~ExprAST() {}
> virtual Value *Codegen() = 0;
> };
>
> /// NumberExprAST - Expression class for numeric literals like "1.0".
> class NumberExprAST : public ExprAST {
> double Val;
> public:
> NumberExprAST(double val) : Val(val) {}
> virtual Value *Codegen();
> };
>
> /// VariableExprAST - Expression class for referencing a variable,...
2010 Feb 07
0
[LLVMdev] Help with Mac OS X 10.6.2 build
...in ccHkdHVT.o
> FunctionAST::Codegen() in ccHkdHVT.o
> llvm::IRBuilder<true,
> llvm::ConstantFolder>::InsertHelper(llvm::Instruction*, llvm::Twine
> const&) constin ccHkdHVT.o
> "llvm::APFloat::APFloat(double)", referenced from:
> NumberExprAST::Codegen() in ccHkdHVT.o
> "llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine
> const&, llvm::Function*, llvm::BasicBlock*)", referenced from:
> FunctionAST::Codegen() in ccHkdHVT.o
> "llvm::Module::getFunction(llvm::StringRef con...
2010 Jan 04
4
[LLVMdev] Getting Kaleidoscope to compile
...he following
errors:
a at a-desktop:~$ g++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags
--libs core` -o toy
toy.cpp:5:30: error: llvm/LLVMContext.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...
2012 Nov 06
0
[LLVMdev] Error while linking LLVM files
...d" -o "src/test.o"
> "../src/test.cpp"
> (which compiles fine)
>
> and:
>
> Invoking: Cross G++ Linker
> g++ `llvm-config --cppflags --ldflags --libs core` -o "test" ./src/test.o
>
> which gives me error:
> ./src/test.o: In function `NumberExprAST::Codegen()':
> /home/wdanilo/dev/lunac/Debug/../src/test.cpp:358: undefined reference to
> `llvm::APFloat::APFloat(double)'
> /home/wdanilo/dev/lunac/Debug/../src/test.cpp:358: undefined reference to
> `llvm::getGlobalContext()'
> /home/wdanilo/dev/lunac/Debug/../src/test...
2010 Feb 17
1
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...; //===----------------------------------------------------------------------===//
>>
>> /// ExprAST - Base class for all expression nodes.
>> class ExprAST {
>> public:
>> virtual ~ExprAST() {}
>> virtual Value *Codegen() = 0;
>> };
>>
>> /// NumberExprAST - Expression class for numeric literals like "1.0".
>> class NumberExprAST : public ExprAST {
>> double Val;
>> public:
>> NumberExprAST(double val) : Val(val) {}
>> virtual Value *Codegen();
>> };
>>
>> /// VariableExprAST - Expression c...
2010 Jan 04
0
[LLVMdev] Getting Kaleidoscope to compile
...t a-desktop:~$ g++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags
> --libs core` -o toy
> toy.cpp:5:30: error: llvm/LLVMContext.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 d...
2008 Jun 09
0
[LLVMdev] regression? Or did I do something wrong again?
...t might be a good idea).
> but with the version of llvm I installed
> last weekend, it does not compile:
>
> hendrik at lovesong:~/dv/llvm/tut$ g++ -g toy.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o toy
> toy.cpp: In member function 'virtual llvm::Value* NumberExprAST::Codegen()':
> toy.cpp:359: error: no matching function for call to 'llvm::ConstantFP::get(const llvm::Type*&, llvm::APFloat)'
> /usr/local/llvm/include/llvm/Constants.h:237: note: candidates are: static llvm::ConstantFP* llvm::ConstantFP::get(const llvm::APFloat&)
> /u...
2008 Jun 09
0
[LLVMdev] regression? Or did I do something wrong again?
Hi Hendrik,
> hendrik at lovesong:~/dv/llvm/tut$ g++ -g toy.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o toy
> toy.cpp: In member function ‘virtual llvm::Value* NumberExprAST::Codegen()’:
> toy.cpp:359: error: no matching function for call to ‘llvm::ConstantFP::get(const llvm::Type*&, llvm::APFloat)’
> /usr/local/llvm/include/llvm/Constants.h:237: note: candidates are: static llvm::ConstantFP* llvm::ConstantFP::get(const llvm::APFloat&)
> /usr/local/llv...
2010 Jan 04
2
[LLVMdev] Getting Kaleidoscope to compile
...g -O3 toy.cpp `llvm-config --cppflags --ldflags
>> --libs core` -o toy
>> toy.cpp:5:30: error: llvm/LLVMContext.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: ‘getGlob...