search for: getaliasee

Displaying 20 results from an estimated 23 matches for "getaliasee".

2013 Feb 05
3
[LLVMdev] Vectorizing global struct pointers
...A quick look at it revealed me the problem: llvm::GetUnderlyingObject(Value *V, const DataLayout *TD, unsigned MaxLookup) yields: -> GEPOperator *GEP = dyn_cast<GEPOperator>(V) -> V = GEP->getPointerOperand(); -> GlobalAlias *GA = dyn_cast<GlobalAlias>(V) -> V = GA->getAliasee(); return V; In this case, V is a reference to the structure, not the element. It seems to me that assigning the pointer operand from GEP is too simplistic. Either GetUnderlyingObject() should store the indices to return the correct object, or GetUnderlyingObjects() should create a special case fo...
2014 May 23
2
[LLVMdev] Changing the design of GlobalAliases to represent what is actually possible in object files.
>> > For example, it would not be possible to define an absolute symbol to be >> > the offset between two symbols. In some restricted circumstances — >> > if both symbols are global variables in the same section and defined >> > in the same translation unit — this could be worked around. >> > >> > But I’ll gladly admit that I don’t have a use
2013 Feb 05
0
[LLVMdev] Vectorizing global struct pointers
...problem: > > llvm::GetUnderlyingObject(Value *V, const DataLayout *TD, unsigned MaxLookup) yields: > > -> GEPOperator *GEP = dyn_cast<GEPOperator>(V) > -> V = GEP->getPointerOperand(); > -> GlobalAlias *GA = dyn_cast<GlobalAlias>(V) > -> V = GA->getAliasee(); > return V; > > In this case, V is a reference to the structure, not the element. It seems to me that assigning the pointer operand from GEP is too simplistic. Either GetUnderlyingObject() should store the indices to return the correct object, or GetUnderlyingObjects() should create a...
2011 Aug 24
2
[LLVMdev] VMKit Development
...::Use const&) + 29 8 llvm-ld 0x083c1cc6 llvm::cast_retty<llvm::Constant, llvm::Use>::ret_type llvm::cast<llvm::Constant, llvm::Use>(llvm::Use const&) + 29 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned int) const + 70 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 11 llvm-ld 0x083dc3c6 12 llvm-ld 0x083dcdb5 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, llvm::Module*, std::string*) + 64 14 llvm-ld 0x083d949a llvm::Linker::LinkInModule(llvm::Module*, std::string*) + 46 15 llvm-ld 0x083d926c llvm::Linker::LinkInFile(llvm::sys::...
2011 Aug 24
0
[LLVMdev] VMKit Development
...29 > 8 llvm-ld 0x083c1cc6 llvm::cast_retty<llvm::Constant, llvm::Use>::ret_type > llvm::cast<llvm::Constant, llvm::Use>(llvm::Use const&) + 29 > 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned int) const + 70 > 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 > 11 llvm-ld 0x083dc3c6 > 12 llvm-ld 0x083dcdb5 > 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, llvm::Module*, > std::string*) + 64 > 14 llvm-ld 0x083d949a llvm::Linker::LinkInModule(llvm::Module*, std::string*) + 46 > 15 llvm-ld 0x083d926c llvm::...
2011 Aug 25
2
[LLVMdev] VMKit Development
...3c1cc6 llvm::cast_retty<llvm::Constant, > llvm::Use>::ret_type > > llvm::cast<llvm::Constant, llvm::Use>(llvm::Use const&) + 29 > > 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned int) const > + 70 > > 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 > > 11 llvm-ld 0x083dc3c6 > > 12 llvm-ld 0x083dcdb5 > > 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, > llvm::Module*, > > std::string*) + 64 > > 14 llvm-ld 0x083d949a llvm::Linker::LinkInModule(llvm::Module*, > std::string*) + 46...
2011 Aug 25
2
[LLVMdev] VMKit Development
...t, >>> llvm::Use>::ret_type >>> > llvm::cast<llvm::Constant, llvm::Use>(llvm::Use const&) + 29 >>> > 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned int) >>> const + 70 >>> > 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 >>> > 11 llvm-ld 0x083dc3c6 >>> > 12 llvm-ld 0x083dcdb5 >>> > 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, >>> llvm::Module*, >>> > std::string*) + 64 >>> > 14 llvm-ld 0x083d949a llvm::Linker::Link...
2011 Aug 25
0
[LLVMdev] VMKit Development
...tty<llvm::Constant, >> llvm::Use>::ret_type >> > llvm::cast<llvm::Constant, llvm::Use>(llvm::Use const&) + 29 >> > 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned int) >> const + 70 >> > 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 >> > 11 llvm-ld 0x083dc3c6 >> > 12 llvm-ld 0x083dcdb5 >> > 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, >> llvm::Module*, >> > std::string*) + 64 >> > 14 llvm-ld 0x083d949a llvm::Linker::LinkInModule(llvm::Module*,...
2011 Aug 26
2
[LLVMdev] VMKit Development
...et_type >>>>> > llvm::cast<llvm::Constant, llvm::Use>(llvm::Use const&) + 29 >>>>> > 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned int) >>>>> const + 70 >>>>> > 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 >>>>> > 11 llvm-ld 0x083dc3c6 >>>>> > 12 llvm-ld 0x083dcdb5 >>>>> > 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, >>>>> llvm::Module*, >>>>> > std::string*) + 64 >>>>>...
2011 Aug 26
0
[LLVMdev] VMKit Development
...llvm::Use>::ret_type >>>> > llvm::cast<llvm::Constant, llvm::Use>(llvm::Use const&) + 29 >>>> > 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned int) >>>> const + 70 >>>> > 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 >>>> > 11 llvm-ld 0x083dc3c6 >>>> > 12 llvm-ld 0x083dcdb5 >>>> > 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, >>>> llvm::Module*, >>>> > std::string*) + 64 >>>> > 14 llvm-ld 0x083...
2013 Feb 05
3
[LLVMdev] Vectorizing global struct pointers
...::GetUnderlyingObject(Value *V, const DataLayout *TD, unsigned MaxLookup) yields: > > > > -> GEPOperator *GEP = dyn_cast<GEPOperator>(V) > > -> V = GEP->getPointerOperand(); > > -> GlobalAlias *GA = dyn_cast<GlobalAlias>(V) > > -> V = GA->getAliasee(); > > return V; > > > > In this case, V is a reference to the structure, not the element. It seems to me that assigning the pointer operand from GEP is too simplistic. Either GetUnderlyingObject() should store the indices to return the correct object, or GetUnderlyingObjects() s...
2011 Aug 18
0
[LLVMdev] VMKit Development
Hi Akshat, Did you compile LLVM before compiling VMKit? libLLVMLinker.so is a shared library from LLVM. Cheers, Nicolas On Thu, Aug 18, 2011 at 3:42 AM, Akshat Gupta <g.akshat at gmail.com> wrote: > Hi, > I was just curious if VMKit development is still going on. > > Also while building VMKit I am getting error at link stage: > > make[1]: Entering directory
2011 Aug 18
2
[LLVMdev] VMKit Development
Hi, I was just curious if VMKit development is still going on. Also while building VMKit I am getting error at link stage: make[1]: Entering directory `/code/vmkit/tools/vmjc' llvm[1]: Linking Debug+Asserts executable vmjc /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lLLVMLinker collect2: ld returned 1 exit status I have installed but I am not able
2011 Aug 26
0
[LLVMdev] VMKit Development
...>>>> > llvm::cast<llvm::Constant, llvm::Use>(llvm::Use const&) + 29 >>>>>> > 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned int) >>>>>> const + 70 >>>>>> > 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 >>>>>> > 11 llvm-ld 0x083dc3c6 >>>>>> > 12 llvm-ld 0x083dcdb5 >>>>>> > 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, >>>>>> llvm::Module*, >>>>>> > std::string*) + 64...
2011 Aug 27
2
[LLVMdev] VMKit Development
...> > llvm::cast<llvm::Constant, llvm::Use>(llvm::Use const&) + 29 >>>>>>> > 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned int) >>>>>>> const + 70 >>>>>>> > 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 >>>>>>> > 11 llvm-ld 0x083dc3c6 >>>>>>> > 12 llvm-ld 0x083dcdb5 >>>>>>> > 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, >>>>>>> llvm::Module*, >>>>>>> >...
2011 Aug 29
2
[LLVMdev] VMKit Development
...llvm::Constant, llvm::Use>(llvm::Use const&) + 29 >>>>>>>>> > 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned >>>>>>>>> int) const + 70 >>>>>>>>> > 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 >>>>>>>>> > 11 llvm-ld 0x083dc3c6 >>>>>>>>> > 12 llvm-ld 0x083dcdb5 >>>>>>>>> > 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, >>>>>>>>> llvm::Module*, &...
2011 Aug 27
0
[LLVMdev] VMKit Development
...vm::cast<llvm::Constant, llvm::Use>(llvm::Use const&) + 29 >>>>>>>> > 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned >>>>>>>> int) const + 70 >>>>>>>> > 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 >>>>>>>> > 11 llvm-ld 0x083dc3c6 >>>>>>>> > 12 llvm-ld 0x083dcdb5 >>>>>>>> > 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, >>>>>>>> llvm::Module*, >>>>&...
2011 Aug 29
0
[LLVMdev] VMKit Development
...nt, llvm::Use>(llvm::Use const&) + 29 >>>>>>>>>> > 9 llvm-ld 0x083c04de llvm::GlobalAlias::getOperand(unsigned >>>>>>>>>> int) const + 70 >>>>>>>>>> > 10 llvm-ld 0x083de0d1 llvm::GlobalAlias::getAliasee() + 37 >>>>>>>>>> > 11 llvm-ld 0x083dc3c6 >>>>>>>>>> > 12 llvm-ld 0x083dcdb5 >>>>>>>>>> > 13 llvm-ld 0x083dce74 llvm::Linker::LinkModules(llvm::Module*, >>>>>>>>>>...
2014 May 23
3
[LLVMdev] Changing the design of GlobalAliases to represent what is actually possible in object files.
...possible representation would be * GlobalsAlias point to ConstantExpr * The expression is completely unconstrained in the current implementation of ConstantExpr. * There is no notion of an aliased symbol. Things like detecting cycles go from "A == A->getAliasedSymbol()" to "A->getAliasee().uses(A)", but even that seems questionable outside of special case like clang that knows the types of alias it creates. This would greatly diminish our ability to report invalid uses, since the first thing to noticed they are invalid is MC. It would also require the alias to weak alias prob...
2009 Aug 25
0
[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs
I've attached a less-hackish implementation of this. This includes the following modifications: - getSupportsOverlappingAliases() method on TargetMachine which returns whether the target supports multiple symbols to the same object. This returns false in the superclass and needs to be explicitly overridden for each target to enable it. - An implementation of this method in