search for: zhizhong

Displaying 5 results from an estimated 5 matches for "zhizhong".

Did you mean: zhihong
2018 Mar 09
4
Dump LLVM StoreInst
Hi, I’m writing a loop-free LLVM pass, my thought is to track if the value inside the loop is changed, so I look up the Instruction StoreInst first and try to get its value in a set. I checked getValueOperand(), getValueName() in the API document but unfortunately they failed the compilation. if (isa<StoreInst>(I)){ Value* v = I.getOperand(0); Instruction* op1 =
2010 Nov 11
1
Is there effective way using R to select variables subset!
Hi, I wonder is there any way to select a subset useful variables from a large data set of variables to build a linear function with a single y. I know some methods without validation in the selection procedure. I want to know is there any way to do effectively with validation? thanks! Zhizhong [[alternative HTML version deleted]]
2018 Mar 10
0
Dump LLVM StoreInst
On Fri, Mar 9, 2018 at 9:18 AM, Zhou Zhizhong via llvm-dev <llvm-dev at lists.llvm.org> wrote: > Hi, > > I’m writing a loop-free LLVM pass, my thought is to track if the value inside the loop is changed, so I look up the Instruction StoreInst first and try to get its value in a set. I checked getValueOperand(), getValueName() in...
2018 Mar 10
0
Dump LLVM StoreInst
...v1'. What should be an '->' is just a '-'. You also have a variable in your print called 'op' but that's not declared in your code. Also the result of dyn_cast should always be checked for null before using the result. ~Craig On Fri, Mar 9, 2018 at 9:18 AM, Zhou Zhizhong via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi, > > I’m writing a loop-free LLVM pass, my thought is to track if the value > inside the loop is changed, so I look up the Instruction StoreInst first > and try to get its value in a set. I checked getValueOperand(), >...
2018 Apr 07
1
Print emory for constant address
Hi all, Consider a simple ll code: %2 = load i32* %y, align 4 I intend to get the memory address of %2. if(isa<loadInst>(I)){ // variable name:y value v = I.getOperand(0); // ? I shows the entire instruction, not %2, then I.getName() would print an empty space which is %2, but I can’t get the memory when dereferencing it errs()<< *&(I.getName())<<"\n”; } error: