Displaying 20 results from an estimated 49 matches for "qiuping".
2014 Nov 22
3
[LLVMdev] How to get the indices in an getelementptr Value?
On Sat, Nov 22, 2014 at 11:09 AM, Sanjoy Das <sanjoy at playingwithpointers.com
> wrote:
> Hi Qiuping,
>
> If I'm reading the IR correctly, what you have is a
> GetElementPtrConstantExpr [1]. It subclasses from llvm::Constant.
>
If you want the same code to handle GetElementPtrConstantExpr *and*
GetElementPtrInst, you can use GEPOperator.
>
> Thanks,
> -- Sanjoy
>
&g...
2015 Jan 31
4
[LLVMdev] How to install poolalloc?
...Error 1
make[2]: Leaving directory `/home/guest/installed/llvm-3.2/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/home/guest/installed/llvm-3.2/tools'
make: *** [all] Error 1
What's wrong? What should I do?
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
On Sat, Jan 31, 2015 at 12:43 AM, John Criswell <jtcriswel at gmail.com> wrote:
> On 1/30/15 10:24 AM, Qiuping Yi wrote:
>
> I am just not upgrade my LLVM. So I must use some higer LLVM version,
> right?
>
>
> Yes....
2015 Jan 30
2
[LLVMdev] How to install poolalloc?
I am just not upgrade my LLVM. So I must use some higer LLVM version, right?
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
On Fri, Jan 30, 2015 at 11:21 PM, John Criswell <jtcriswel at gmail.com> wrote:
> On 1/30/15 10:17 AM, Qiuping Yi wrote:
>
> Thank you. But now I am using LLVM 2.9, so which version of poolalloc I
> should use ?
>
>
>...
2014 Nov 22
2
[LLVMdev] How to get the indices in an getelementptr Value?
...ruction, right? However, I think value "i32* getelementptr inbounds
(%struct.Args* @globalArg, i64 0, i32 2)" itself is not a getelementptr
instruction, so? Or could you tell me how can I get a getelementptr
instruction first from this value?
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
On Sat, Nov 22, 2014 at 4:49 PM, Michael Zolotukhin <mzolotukhin at apple.com>
wrote:
> Hi Qiuping,
>
> I guess you need to use getPointerOperand to access the pointer operand
> (@globalArg in your example) and idx_begin/idx_e...
2015 Jan 31
0
[LLVMdev] How to install poolalloc?
Which compiler are you using to compile poolalloc? Looks like it doesn't
support C++11 (doesn't recognize nullptr).
Jingyue
On Fri, Jan 30, 2015 at 8:32 PM, Qiuping Yi <yiqiuping at gmail.com> wrote:
> Hi, John Criswell
>
> Thank you very much.
>
> I am installing LLVM-3.2, but I encounter the next error when carrying out
> "make":
>
> llvm[3]: Compiling ClangASTNodesEmitter.cpp for Release+Asserts build
> ClangASTNo...
2015 Jan 31
0
[LLVMdev] How to install poolalloc?
On 1/30/15 11:32 PM, Qiuping Yi wrote:
> Hi, John Criswell
>
> Thank you very much.
>
> I am installing LLVM-3.2, but I encounter the next error when carrying
> out "make":
Is this error occurring when compiling the version of Clang within
SAFECode or standard Clang? If it's the former, you...
2015 Jan 30
2
[LLVMdev] How to install poolalloc?
Thank you. But now I am using LLVM 2.9, so which version of poolalloc I
should use ?
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
On Fri, Jan 30, 2015 at 11:12 PM, John Criswell <jtcriswel at gmail.com> wrote:
> Dear Qiuping,
>
> If you use the release_32 branch of poolalloc, then you need to use LLVM
> 3.2.
>
> For directions on compiling poolall...
2015 Jan 30
0
[LLVMdev] How to install poolalloc?
On 1/30/15 10:24 AM, Qiuping Yi wrote:
> I am just not upgrade my LLVM. So I must use some higer LLVM version,
> right?
Yes. For working with poolalloc, I would recommend using LLVM 3.2 as we
know poolalloc compiles with LLVM 3.2.
If there's a release_29 branch for poolalloc, you could use that, but
you won'...
2016 Jan 20
2
Why getFunction() of CallGraphNode return NULL function?
So, I won't know the called function statically, Right?
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
On Wed, Jan 20, 2016 at 2:24 PM, Nema, Ashutosh <Ashutosh.Nema at amd.com>
wrote:
> Typically for C++ virtual function you will see an indirect callSite
> (unless not de-virtualized).
>
>
>
> Regards,
>
> Ashutosh...
2015 Jan 30
0
[LLVMdev] How to install poolalloc?
On 1/30/15 10:17 AM, Qiuping Yi wrote:
> Thank you. But now I am using LLVM 2.9, so which version of
> poolalloc I should use ?
Why are you using LLVM 2.9? That's an old version of LLVM (even by my
standards).
Is there some other LLVM-based tool that requires that you use LLVM 2.9?
Regards,
John Criswell
>...
2016 Jan 20
2
Why getFunction() of CallGraphNode return NULL function?
...quot; from "invoke void
%tmp40(...)", what should I do?
I didn't analysis C++ code with llvm, does all the function calls through
objects are translated to such complex indirect calls?
If so, how can I dereference such functions? Thanks!
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
On Tue, Jan 19, 2016 at 8:23 PM, Nema, Ashutosh <Ashutosh.Nema at amd.com>
wrote:
> You will see NULL for indirect callSite.
>
> May need to add additional checks for this possibility.
>
>
>
> Regards,
>
> Ashut...
2014 Nov 22
2
[LLVMdev] How to get the indices in an getelementptr Value?
...n this
instruction.
I know I can get the indices of getelementptr instructions through
"getOperand()", but now in the previous example,
I want to get the indices from a getlementptr value. How should I do? Thank
you in advance.
Best Regards!
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141122/48fa8fff/attachment.html>
2015 Jan 30
2
[LLVMdev] How to install poolalloc?
...directory
`/home/gu/installed/llvm-2.9/projects/poolalloc/lib'
make: *** [all] Error 1
Does poolalloc dependent on some other project which has not been installed
now? What should I do for incorrectly installing poolalloc? Thank you all
in advance.
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150130/ee71e78d/attachment.html>
2015 Jan 30
0
[LLVMdev] How to install poolalloc?
Dear Qiuping,
If you use the release_32 branch of poolalloc, then you need to use LLVM
3.2.
For directions on compiling poolalloc with LLVM 3.2, please the SAFECode
build directions at http://safecode.cs.illinois.edu/docs/Install.html.
You can just skip the steps in the directions that compile SAFECode....
2018 Feb 08
3
PHI nodes for atomic variables
...ible to directly catch the fact that the load of x at the
statement 'data1 = x; ' dependents on data4 (because of the statement
x=data4 )?
If I want to get such information, may be the only solution is to traverse
all the predecessors of the statement 'data1 = x;'.
Best regards,
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
On Thu, Feb 8, 2018 at 3:11 AM, David Chisnall <David.Chisnall at cl.cam.ac.uk>
wrote:
> On 8 Feb 2018, at 04:07, Qiuping Yi via llvm-dev <llvm-dev at lists.llvm.org>
> wrote:
> >
> > I found that it only generated...
2017 Jul 12
2
A strange problem about type i64 for LLVM
...ody of 'myStore'. However, when I use 'myLoad' to return the
stored value to '%0', the 64bits value is truncated to a 32bits value. For
example, '140583176769504' is returned in 'myLoad', but actually '306205760'
is assigned to %0.
Best regards,
Qiuping Yi
Parasol Laboratory
Department of Computer Science and Engineering
Texas A&M University
College Station
TX 77843
On Wed, Jul 12, 2017 at 10:16 AM, Tim Northover <t.p.northover at gmail.com>
wrote:
> On 12 July 2017 at 11:10, Qiuping Yi via llvm-dev
> <llvm-dev at lists.llvm.o...
2018 Feb 08
0
PHI nodes for atomic variables
Let me try to help.
On Thu, Feb 8, 2018 at 12:13 PM, Qiuping Yi via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Thanks for your explanation.
>
> Do you mean that LLVM will not maintain the def-use chain for atomic
> variables?
>
It is not a variable at the LLVM level.
At the source level, it is a variable.
At the LLVM IR level, it i...
2018 Apr 12
2
Error: Verify if there is a pass dependency cycle
...be successfully compiled. However, I encounter the next error
when I ran the code:
*Pass 'Unnamed pass: implement Pass::getPassName()' is not initialized.*
*Verify if there is a pass dependency cycle.*
*Required Passes:*
I used llvm-3.4. Any comments are welcome. Thanks!
Best regards,
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180411/75d31e77/attachment.html>
2016 Jan 19
2
Why getFunction() of CallGraphNode return NULL function?
...}
}
I found that some time "calledFunc" is NULL function and thus the output
crash. I don't known why? If the before code is wrong, so what is the
correct method for get all the called functions?
I use LLVM 3.6. Thank you all in advance.
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160119/d2b9d630/attachment.html>
2018 Apr 14
0
Error: Verify if there is a pass dependency cycle
..., and have PostDominatorTreeWrapperPass
(which is the Analysis pass in charge of creating the PostDominatorTree)
initialized before your pass.
It also give a pretty name to YourPass: "Your Pass"
And add an option to opt to run it: "-your-pass"
On Wed, Apr 11, 2018 at 9:39 PM, Qiuping Yi via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi everyone,
>
> I write a new FunctionPass which wants to use pass PostDominatorTree, so I
> implement the next function:
>
> void getAnalysisUsage(AnalysisUsage &AU) const {
> AU.addRequired<PostDomina...