Displaying 4 results from an estimated 4 matches for "bill_koutsoumpos".
2014 Jul 20
2
[LLVMdev] error in InsertElementInst
Hello everybody,
What I am trying to do is to create a vector <4 x i32> and save some values to initialize the vector.
However, I am using the insertElementInst() and the errors I get are the following;
error: within this context
Instruction *Insert = new InsertElementInst(instr, emptyVec, index0, "test");
and
error: ‘llvm::InsertElementInst::InsertElementInst(llvm::Value*,
2014 May 07
2
[LLVMdev] loop identification
Hello everybody,
I have developed a pass to identify the loops in a bitcode file. For
files less than 1500 lines of code I am able to identify all the loops,
however if the file is bigger I cannot find any of the loops.
Is there any limit or something about the LoopInfo?
Regards,
Vasileios
2014 Jul 22
2
[LLVMdev] InsertElementInst and ExtractElementInst
Hello,
I am create a <3 x i32> vector in LLVM IR. Then I insert 3 instructions
and later on I try to load one instruction from the vector. The
insertion seems to work, however, when I try to load a specific
instruction from a vector I seems that it does not work.
This is the part of my IR:
%"ins or1" = insertelement <3 x i32> undef, i32 %38, i32 0
%"ins and2"
2014 Jun 26
2
[LLVMdev] eraseFromParent and stack dump
Hello,
I am creating a new instruction and I want to replace the use of a
specified instruction.
This is the code I have written
Instruction *new_instr = BinaryOperator::Create(Instruction::Sub, op1,
op2, "");
b->getInstList().insertAfter(old_instr, new_instr); //b is the BasicBlock
old_instr->replaceAllUsesWith(new_instr);
old_instr->eraseFromParent();
When I print the