Displaying 18 results from an estimated 18 matches for "yiqiup".
Did you mean:
yiqi
2014 Nov 22
3
[LLVMdev] How to get the indices in an getelementptr Value?
...you want the same code to handle GetElementPtrConstantExpr *and*
GetElementPtrInst, you can use GEPOperator.
>
> Thanks,
> -- Sanjoy
>
> [1]:
> http://llvm.org/docs/doxygen/html/classllvm_1_1GetElementPtrConstantExpr.html
>
> On Sat, Nov 22, 2014 at 1:10 AM, Qiuping Yi <yiqiuping at gmail.com> wrote:
> > Hi Michael,
> >
> > Thank you very much.
> >
> > But idx_begin/idx_end iterators can only be used through a getelementptr
> > instruction, right? However, I think value "i32* getelementptr inbounds
> > (%struct.Args* @glo...
2014 Nov 22
2
[LLVMdev] How to get the indices in an getelementptr Value?
...se functions in
> documentation [1], or look at examples of their uses in the code, e.g.
> in lib/Transforms/InstCombine/*.cpp.
>
> [1] http://llvm.org/doxygen/classllvm_1_1GetElementPtrInst.html
>
> Best regards,
> Michael
>
> On Nov 22, 2014, at 12:32 AM, Qiuping Yi <yiqiuping at gmail.com> wrote:
>
> Hi, all
>
> I am a LLVM user. I want to get every element in the next instruction:
>
> %0 = load i32* getelementptr inbounds (%struct.Args* @globalArg, i64 0,
> i32 2), align 4, !dbg !85, !clap !86
>
> Now I can only get value "i32* get...
2010 Apr 06
0
[LLVMdev] Summer code of idea
Hi,
Here are my submitted proposals, and they are still in progress.
Wellcome your comments, if you have some interest in the topics.
Update the SAFCode project to the new LLVM API
http://blog.csdn.net/yiqiuping/archive/2010/04/06/5453367.aspx
Check bounds overflow bugs in C programs based on LLVM
http://blog.csdn.net/yiqiuping/archive/2010/04/06/5453368.aspx
ABCD: Eliminating Array Bounds Checks on Demand
http://blog.csdn.net/yiqiuping/archive/2010/04/06/5453348.aspx
2010-04-06
yiqiuping19...
2016 Jan 20
2
Why getFunction() of CallGraphNode return NULL function?
...iences
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
>
>
>
> *From:* Qiuping Yi [mailto:yiqiuping at gmail.com]
> *Sent:* Wednesday, January 20, 2016 9:10 AM
> *To:* Nema, Ashutosh
> *Cc:* llvm-dev
> *Subject:* Re: [llvm-dev] Why getFunction() of CallGraphNode return NULL
> function?
>
>
>
> Dear Ashutosh,
>
>
>
> Thank you, I can handle some indirect c...
2014 Nov 22
2
[LLVMdev] How to get the indices in an getelementptr Value?
Hi, all
I am a LLVM user. I want to get every element in the next instruction:
%0 = load i32* getelementptr inbounds (%struct.Args* @globalArg, i64 0, i32
2), align 4, !dbg !85, !clap !86
Now I can only get value "i32* getelementptr inbounds (%struct.Args*
@globalArg, i64 0, i32 2)" through "getOperand(0)",
but I can not get "%struct.Args* @globalArg", "i64
2016 Jan 20
2
Why getFunction() of CallGraphNode return NULL function?
Dear Ashutosh,
Thank you, I can handle some indirect callSites by getFunction() of
InvokInst and CallInst.
However, when I am handling C++ programs, I found the calls of member
functions are converted
to some strange indirect calls. For example:
table->truncate(sysTransaction); // from mysql
are translated to the next complex llvm IR:
_ZN8Database20getSystemTransactionEv.exit: ;
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
> ClangASTNodesEmitter.cpp...
2015 Jan 31
4
[LLVMdev] How to install poolalloc?
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
ClangASTNodesEmitter.cpp: In member function ‘std::pair<llvm::Record*,
llvm::Record*><unnamed>::ClangASTNodesEmitter::EmitNode(const
std::multimap<llvm::Record*, llvm::Record*,
2018 Feb 09
1
PHI nodes for atomic variables
Dear Daniel Berlin,
I just tried MemorySSA analysis and get the next IR.
However, I feel confused by the result.
Specifically, why instruction *%3* relates to a *MemoryDef*. According to
my understanding,
I think *%3* should be related to a *MemoryUse*, right?
; Function Attrs: uwtable
define void @_Z2f1v() #3 personality i32 (...)* @__gxx_personality_v0 {
entry:
; 1 = MemoryDef(liveOnEntry)
2010 Mar 25
0
[LLVMdev] Summer of Code idea -- detecting undefined behavior
...optimization technologies. Now I also attend another project
based on LLVM, in which I need to implement detecting whether the subscript
is out of the bounds of arrays.
I hope I can have a chance to make some contribution to LLVM and Clang.
Qiuping Yi
2010-03-25
------------------------------
yiqiuping1986
------------------------------
*发件人:* John Regehr
*发送时间:* 2010-03-23 08:43:21
*收件人:* llvmdev
*抄送:*
*主题:* [LLVMdev] Summer of Code idea -- detecting undefined behavior
Is anyone interested in a SoC project to further develop Clang's support
for detecting undefined behaviors in C/C++?
T...
2010 Mar 31
0
[LLVMdev] summer_of_code_idea_—_checking_bounds_overflow_bugs
...project, perhaps I haven’t seriously thought over it.
> >
> > My idea come from a master thesis, and I send it to you as an
> attachment.
> >
> >
> >
> > 2010-03-31
> > ------------------------------------------------------------------------
> > yiqiuping1986
> > ------------------------------------------------------------------------
> > *发件人:* John Regehr
> > *发送时间:* 2010-03-30 22:37:49
> > *收件人:* $B0W=)hL (J
> > *抄送:* llvmdev
> > *主题:* Re: [LLVMdev]summer_of_code_idea_―_checking_bounds_overflow_bugs
> &g...
2012 Aug 21
1
[LLVMdev] generate a weird 'and' instruction
When I use the next code to print all the opcode name in a file xx.o whose
source file contains statements "if (diff != 0) klee_assume(diff>0)", then
an opcode name 'and' was printed. Where is the 'and' instruction from? I
checked the file xx.ll of xx.o and I didn't find a 'and' instruction of
these two statements.
Besides, when I commented out statement
2015 Jul 16
2
[LLVMdev] What does "noalias sret" mean?
Hi, all
When I compile the C code containing the next statement to LLVM,
*struct A const o = func(...);*
I got the next corresponding LLVM bytecode
*call void @func(%struct.A* noalias sret %o, ...)*
Could you tell me why function "func" with a return value
is changed to be one with a void return value and another
more parameter %o. Does "noalias sret" play a special role?
2015 Jan 30
2
[LLVMdev] How to install poolalloc?
Hi, all
I want to use the alias analysises in project poolalloc, but I encounter
some problem during installing it. I install poolalloc as follow:
1) cd llvm/projects
svn co http://llvm.org/svn/llvm-project/poolalloc/branches/release_32
poolalloc
3) cd LLVM-object-directory
make tools-only
cd projects/poolalloc
make
When I carried out "make", I get the next error
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.
>
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
2010 Mar 30
7
[LLVMdev] summer of code idea — checking bounds overflow bugs
Hi,
Some days ago I am interested in detecting undefined behaviors
in C programs based on Clang. After several days’ investigation, I think
checking bounds overflow bugs is more interesting, because bounds
overflow is one of the most frequently encountered errors in C programs.
For example, performing pointer arithmetic without checking bounds
can cause bounds overflow. To increase the
2014 May 13
4
[LLVMdev] Problems in instrumentation
Hi everyone,
I have some trouble in instrumenting load instructions. I want to
instrument load instructions as follow: Firstly, I judge whether the loaded
pointer(*any type is possible*) is NULL. If so, I want to explicitly
allocate the corresponding address space of its type to the pointer.
For example, in source code level I want to translate the next statement
*p = 1;
into the next