search for: argumentlisttyp

Displaying 6 results from an estimated 6 matches for "argumentlisttyp".

Did you mean: argumentlisttype
2014 Dec 13
2
[LLVMdev] Correct way to access Function ArgumentList?
Hey All, I’m working with Mac OS X 10.10, and everything seems generally fine but when I started working on a FunctionPass I get the following: error: call to deleted constructor of 'Function::ArgumentListType' (aka 'iplist<llvm::Argument>') Function::ArgumentListType argList = f.getArgumentList(); Any pointers as to the correct way access the Arguments of a Function object? From what I saw on the docs it seems like this ought to work... Thanks, Jared -------------- next part...
2016 Mar 01
2
Insert CallInst within a function passing same parameters of the calling function.
..._function->setName(functionName + “_newfunction"); F.getParent()->getFunctionList().push_back(new_function); Function::ArgumentListType::iterator it = F.getArgumentList().begin(); Function::ArgumentListType::iterator end = F.getArgumentList().end(); std::vector<Value*> args; while (it != end) {...
2016 Feb 10
5
Question about an error we're now starting to get on LLVM 3.8.0rc2since
...le-iterator to a pointer explicit. > > Evidently, the result of the call to pFunc->arg_begin(); is no longer convertible to a “Value*” type in 3.8. I checked on the type of an Argument, it is still derived from a Value type, so that isn’t the problem. But I discovered that an “ArgumentListType” has indeed changed. In 3.7, in /include/IR/Function.h, this was declared as: > > typedef iplist<Argument> ArgumentListType; > > whereas in LLVM 3.8.0rc2, this is changed to: > > typedef SymbolTableList<Argument> ArgumentListType; > > Rummag...
2005 Mar 08
1
[LLVMdev] Making Constants from GenericValues
...turn some GenericValues into Constants in the interpreter using code like this, in a switch statement: case Type::IntTyID: SI = ConstantSInt::get(FB->getType(), ArgVals[i].IntVal); params.push_back(UI); UI->dump(); //for testing break; FB is a Function::ArgumentListType::iterator ArgVals is a std::vector<GenericValue> the switch is on FB->getType()->getTypeID() so basically what I am doing is iterating through the formal argument list and using that to know how to convert the GenericValues (on a side note I can't get it to create iterators for Arg...
2005 Mar 08
0
[LLVMdev] GCC assembler rejects native code generated by LLVM
My first patch was a little premature, please use this one. On Mon, 2005-03-07 at 17:19, Reid Spencer wrote: > Vyacheslav, > > This is the same problem that I had with Cygwin .. nearly identical. > The issue was documented in PR492 if you want some background. I'm > currently trying to dig up what I did to fix this in December for Cygwin > and see if I can apply the same
2005 Mar 08
3
[LLVMdev] GCC assembler rejects native code generated by LLVM
Vyacheslav, This is the same problem that I had with Cygwin .. nearly identical. The issue was documented in PR492 if you want some background. I'm currently trying to dig up what I did to fix this in December for Cygwin and see if I can apply the same change for mingw. Reid. On Mon, 2005-03-07 at 16:39, Vyacheslav Akhmechet wrote: > Ok, I got home so I have more details. Here's the