search for: createtemporary

Displaying 4 results from an estimated 4 matches for "createtemporary".

2008 May 22
2
[LLVMdev] Latest SVN head (gcc front end) build failed
.../ --enable-llvm=/home/rajika/project/llvm/llvm-objects it gave me the following errors ../../dst-directory/gcc/llvm-convert.cpp:1163: error: 'Create' is not a member of 'llvm::CastInst' ../../dst-directory/gcc/llvm-convert.cpp: In member function 'llvm::AllocaInst* TreeToLLVM::CreateTemporary(const llvm::Type*)': ../../dst-directory/gcc/llvm-convert.cpp:1250: error: 'Create' is not a member of 'llvm::CastInst' make[3]: *** [llvm-convert.o] Error 1 make[3]: Leaving directory `/home/rajika/project/llvm/llvm-gcc4.2-objects/gcc' make[2]: *** [all-stage1-gcc] Error 2...
2008 May 22
0
[LLVMdev] Latest SVN head (gcc front end) build failed
...llvm/llvm-objects > > it gave me the following errors > > ../../dst-directory/gcc/llvm-convert.cpp:1163: error: 'Create' is > not a member of 'llvm::CastInst' > ../../dst-directory/gcc/llvm-convert.cpp: In member function > 'llvm::AllocaInst* TreeToLLVM::CreateTemporary(const llvm::Type*)': > ../../dst-directory/gcc/llvm-convert.cpp:1250: error: 'Create' is > not a member of 'llvm::CastInst' > make[3]: *** [llvm-convert.o] Error 1 > make[3]: Leaving directory `/home/rajika/project/llvm/llvm-gcc4.2- > objects/gcc' > make...
2008 Feb 02
0
[LLVMdev] another llvm-gcc-4.2 compilation problem
...ta._ZTVN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEEE[vtable for __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >]+0x30): undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::uflow()' libbackend.a(llvm-convert.o): In function `TreeToLLVM::CreateTemporary(llvm::Type const*)': llvm-convert.cpp:(.text+0x427): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()' llvm-convert.cpp:(.text+0x491): undefined reference to `std::basic_string<char, std::char_traits<char...
2009 Jan 09
2
[LLVMdev] RFC: Store alignment should be LValue alignment, not source alignment
...t;getType())); + return LValue(Builder.CreateStructGEP(Ptr.Ptr, Idx), Alignment); } LValue TreeToLLVM::EmitLV_VIEW_CONVERT_EXPR(tree exp) { @@ -6310,24 +6361,30 @@ LValue TreeToLLVM::EmitLV_VIEW_CONVERT_E } else { // If the input is a scalar, emit to a temporary. Value *Dest = CreateTemporary(ConvertType(TREE_TYPE(Op))); - Builder.CreateStore(Emit(Op, 0), Dest); + StoreInst *S = Builder.CreateStore(Emit(Op, 0), Dest); // The type is the type of the expression. Dest = BitCastToType(Dest, PointerType::getUnqual(ConvertType(TREE_TYPE(exp))));...