search for: derivedtypes

Displaying 20 results from an estimated 160 matches for "derivedtypes".

2007 May 03
1
[LLVMdev] which g++ to compile LLVM CVS on Linux/AMD64?
...ystem.a make[1]: Leaving directory `/usr/src/Lang/llvm/lib/System' make[1]: Entering directory `/usr/src/Lang/llvm/lib/Support' llvm[1]: Compiling APInt.cpp for Debug build In file included from /usr/src/Lang/llvm/include/llvm/Type.h:14, from /usr/src/Lang/llvm/include/llvm/DerivedTypes.h:21, from APInt.cpp:17: /usr/src/Lang/llvm/include/llvm/AbstractTypeUser.h:19:51: error: missing terminating ' character In file included from APInt.cpp:16: /usr/src/Lang/llvm/include/llvm/ADT/APInt.h:1041: warning: type qualifiers ignored on function return type /usr/src/Lang...
2008 May 18
1
[LLVMdev] Duplicate wrapper function in LLVM-C.
Hi (Gordon). There appears to be two wrapper functions for DerivedType::refineAbstractTypeTo() in llvm-c (Core.h, Core.cpp): void LLVMRefineAbstractType(LLVMTypeRef AbstractType, LLVMTypeRef ConcreteType){ DerivedType *Ty = unwrap<DerivedType>(AbstractType); Ty->refineAbstractTypeTo(unwrap(ConcreteType)); } void LLVMRefineType(LLVMTypeRef AbstractTy, LLVMTypeRef ConcreteTy) {
2007 May 03
0
[LLVMdev] which g++ to compile LLVM CVS on Linux/AMD64?
On Thu, 3 May 2007, Basile STARYNKEVITCH wrote: > > What version of g++ is usable to compile the latest LLVM CVS snapshot on a > Linux/x86-64 (AMD64) Debian/ Sid or Etch plateform? Please look here: http://llvm.org/docs/GettingStarted.html#brokengcc I'd suggest late versions of GCC 4.0.x. The 4.1 series has had numerous problems compiling LLVM on x86-64, though some people have
2007 May 03
3
[LLVMdev] which g++ to compile LLVM CVS on Linux/AMD64?
Hello All, What version of g++ is usable to compile the latest LLVM CVS snapshot on a Linux/x86-64 (AMD64) Debian/ Sid or Etch plateform? What compiler do LLVM dzevelopers use to compile LLVM on Linux/X86-64 systems? IKt seems that most versions of g++ fail to compile LLVM and that some others compile it wrongly (producing buggy code)? Why can't g++-4.1 be used? FWIW, the latest gcc
2012 Jun 10
1
[LLVMdev] Why no setAddressSpace method?
Dear LLVM, A minor thing. During opt passes it is sometimes needed to adjust the pointer address space. However, I've noticed PointerType in LLVM has only get accessor, and clang has its initial setter. Maybe better to --- DerivedTypes.h (revision 156703) +++ DerivedTypes.h (working copy) @@ -450,6 +450,9 @@ /// @brief Return the address space of the Pointer type. inline unsigned getAddressSpace() const { return getSubclassData(); } + /// @brief Set the address space of the Pointer type. + inline void setAddressSpa...
2013 Jul 04
1
[LLVMdev] Kaleidoscope Tutorial is Out of Date
I'm working thought the Kaleidoscope tutorials for LLVM 3.3 and noticed the code listing for chapter 4 is out of date on the web. Take a look at http://llvm.org/releases/3.3/docs/tutorial/LangImpl4.html. The first line includes llvm/DerivedTypes.h, but this does not compile. The correct path is llvm/IR/Derivedtypes.h. There are other differences, and the examples that I pulled along with the source are correct. -Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm...
2009 Jul 10
0
[LLVMdev] void llvm::PATypeHolder::addRef(): Assertion `Ty && "Type Holder has a null type!"' failed.
Hi, I am using current SVN and in the last week or so, something causing the following assertion failure has changed. void llvm::PATypeHolder::addRef(): Assertion `Ty && "Type Holder has a null type!"' failed. The corresponding stack trace is: #0 0x000000339ec332f5 in raise () from /lib64/libc.so.6 #1 0x000000339ec34b20 in abort () from /lib64/libc.so.6 #2
2004 Jul 10
3
[LLVMdev] Re: [llvm-commits] CAUTION: Type != Value
...index in Type VMT in as setName in Value VMT) with random argument values and terminated with assert fail: Assertion failed: (isAbstract() && "addAbstractTypeUser: Current type not abstract!"), function addAbstractTypeUser, file /home/wanderer/pkg/build/llvm/src/llvm/include/llvm/DerivedTypes.h, line 73. In Chris Lattner remove setName from Type class http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040705/015869.html And then i remove bogus code line as may not correct but tempory workaround for me. Vladimir
2011 Feb 02
1
[LLVMdev] reference to %llvm.dbg.variable in source level debug docs
>> There are a couple of references made to %llvm.dbg.variable, which >> isn't defined anywhere. It it an intrinsic? A global? Could it be a >> relic from the old debug info docs (where it *is* defined?). The same >> goes for llvm.dbg.derivedtype and llvm.dbg.subrange which are also >> referenced but not defined. > > It was a stale reference. I fixed the
2011 Feb 01
2
[LLVMdev] reference to %llvm.dbg.variable in source level debug docs
Hello I'm reading http://llvm.org/docs/SourceLevelDebugging.html and some things aren't clear. There are a couple of references made to %llvm.dbg.variable, which isn't defined anywhere. It it an intrinsic? A global? Could it be a relic from the old debug info docs (where it *is* defined?). The same goes for llvm.dbg.derivedtype and llvm.dbg.subrange which are also referenced but not
2008 Jun 02
3
[LLVMdev] The first two lines of llvm tutorial don't compile.
I took the first two lines of the sample program in the tutorial: hendrik at lovesong:~/dv/lang/hlvm$ cat broken.cpp #include "llvm/DerivedTypes.h" #include "llvm/Module.h" hendrik at lovesong:~/dv/lang/hlvm$ and tried to compile them using the llvm-dev in Debian testing: hendrik at lovesong:~/dv/lang/hlvm$ g++ -o broken.o -c broken.cpp In file included from /usr/include/llvm/Type.h:16, from /usr/include/...
2010 Sep 06
1
[LLVMdev] DataTypes.h Header File
...s.h header file in llvm/System folder. Instead, the folder contain DataTypes.h.in and DataTypes.h.cmake files. Shall I use them to create DataTypes.h header file? Any help would be much appreaciated! Anton g++ -c -g main.cpp In file included from /mingw/lib/gcc/mingw32/../../../include/llvm/DerivedTypes.h:21, from main.cpp:10:/mingw/lib/gcc/mingw32/../../../include/llvm/Type.h:15:35: error: llvm/System/DataTypes.h: No such file or directory In file included from main.cpp:10:/mingw/lib/gcc/mingw32/../../../include/llvm/DerivedTypes.h:266: error: expected ';' before 'END_WITH_NULL'/...
2009 Oct 21
1
[LLVMdev] A few more questions about DIFactory and source-level debugging.
Well, I am much happier now that I understand about dsymutil, and can actually step through my program in gdb. However, there are still some issues that are puzzling me. 1) First off, the debugger appears to stop at odd points. The IR for my main function looks correct to me: define i32 @"main(tart.core.Array[tart.core.String])->int"(%"tart.core.Array[tart.core.String]"*
2011 Feb 01
0
[LLVMdev] reference to %llvm.dbg.variable in source level debug docs
On Feb 1, 2011, at 3:58 AM, Eli Bendersky wrote: > Hello > I'm reading http://llvm.org/docs/SourceLevelDebugging.html and some > things aren't clear. > > There are a couple of references made to %llvm.dbg.variable, which > isn't defined anywhere. It it an intrinsic? A global? Could it be a > relic from the old debug info docs (where it *is* defined?). The same
2012 Jul 17
2
[LLVMdev] llvm library linking issues
I'm trying to make use of the llvm compiler libraries, but I can't get them to link to my program correctly. #include <llvm/Constants.h> #include <llvm/DerivedTypes.h> int main(){   llvm::APInt(1,0);   return 0; } I get an error like: undefined reference to `llvm::APInt::initSlowCase(unsigned int, unsigned long long, bool) (this function is called by the inline APInt constructor) The library seems to be found correctly; it doesn't give any ot...
2018 Aug 24
3
OpaqueType:: get()
I have code that uses OpaqueType::get(), it was used to be in llvm/IR/DerivedType.h , but it is removed now. What should I use for it replacement. Also, it is using #include <llvm/Bytecode/WriteBytecodePass.h> , but I do not found any WriteBytecodePass.h in my source code. Please tell me, what should I use in replacement of these. Thanks& Regards, Ratnesh Tiwari -------------- next
2008 Jun 05
2
[LLVMdev] Question about circular dependency checker
...quot;Support" library that calls code in other LLVM libraries on a higher > level, like "VMCore", without introducing a circular dependency > between the libraries. > > >> The headers that I am including in my .cpp file are: >> >> #include <llvm/DerivedTypes.h> >> #include <llvm/Constants.h> >> #include <llvm/GlobalVariable.h> >> #include <llvm/Module.h> >> #include <llvm/CodeGen/MachineModuleInfo.h> >> #include <llvm/Support/Dwarf.h> >> #include <llvm/System/Path...
2011 Jul 27
0
[LLVMdev] Linking opaque types
...mple of two .ll files that repros what you're seeing with > llvm-link. Thanks, > > It's llvm-ld that asserts here: Assertion failed: (N < NumContainedTys && "Element number out of range!"), function getElementType, file /Users/talin/Projects/llvm/include/llvm/DerivedTypes.h, line 268. 5 0x0000000100158f27 in llvm::StructType::getElementType (this=0x10180f310, N=0) at DerivedTypes.h:268 #6 0x00000001001b8b54 in llvm::BitcodeReader::ParseConstants (this=0x101813800) at /Users/talin/Projects/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:1256 #7 0x00000001001be481 in ll...
2019 Sep 03
2
Get constants of undefined types in IR
Hi Tim, My mistake not including the llvm-dev, excuse me. affinityElement.__bits[0] worked fine for me, thank you. I am new in using the API for Constants and I am facing the error "incomplete type is not allowed" on the last last of below code: Type * ET = IntegerType::getInt64Ty(I.getContext()); unsigned long size = cpuAffinityVector.size(); ArrayType * AT = ArrayType::get(ET,size);
2008 Jun 04
2
[LLVMdev] Question about circular dependency checker
...find-cycles.pl: Circular dependency between *.a files: find-cycles.pl: libLLVMCore.a libLLVMSupport.a The odd part is, that no other file in LLVM even references my header, so I'm not sure where the cycle is. The headers that I am including in my .cpp file are: #include <llvm/DerivedTypes.h> #include <llvm/Constants.h> #include <llvm/GlobalVariable.h> #include <llvm/Module.h> #include <llvm/CodeGen/MachineModuleInfo.h> #include <llvm/Support/Dwarf.h> #include <llvm/System/Path.h> My .h file uses forward declarations for...