search for: make_tupl

Displaying 3 results from an estimated 3 matches for "make_tupl".

Did you mean: make_tuple
2017 Aug 22
5
[RFC] mir-canon: A new tool for canonicalizing MIR for cleaner diffing.
Patch for review. On Mon, Aug 21, 2017 at 11:45 PM Puyan Lotfi <puyan.lotfi.llvm at gmail.com> wrote: > Ping. > > Still working on preparing code for review. Will have a patch for review > ready in the coming days. > > PL > > On Tue, Aug 15, 2017 at 12:06 PM Puyan Lotfi <puyan.lotfi.llvm at gmail.com> > wrote: > >> Hi, >> >> >>
2016 Nov 28
2
LLVM Pass for Instructions in Function (error
....... if (cast<Operator>(Inst) -> getOpcode() == Instruction::GetElementPtr){ Value* AddrPointer = cast<Value>(Inst); Value* threadId = Inst -> getOperand(1); unsigned AddrSpace = Inst -> getAddressSpace() DataStructureForTrace.push_back (std:make_tuple(new Value(threadId), AddrSpace, 0, new Value(AddrPointer))); } } I get following error (there are more, some visible here and some not. for eg, getAddressSpace not being for Instruction class.): error: cannot convert ‘llvm::inst_iterator {aka llvm::InstIterator<llvm::SymbolTableList<...
2016 Nov 28
2
LLVM Pass for Instructions in Function (error
...(cast<Operator>(Inst) -> getOpcode() == Instruction::GetElementPtr){ > Value* AddrPointer = cast<Value>(Inst); > Value* threadId = Inst -> getOperand(1); > unsigned AddrSpace = Inst -> getAddressSpace() > DataStructureForTrace.push_back (std:make_tuple(new Value(threadId), AddrSpace, 0, new Value(AddrPointer))); > } > } > > I get following error (there are more, some visible here and some not. for eg, getAddressSpace not being for Instruction class.): > > error: cannot convert ‘llvm::inst_iterator {aka llvm::InstIterato...