search for: yehia

Displaying 16 results from an estimated 16 matches for "yehia".

2009 Mar 24
2
[LLVMdev] Problem with MemoryDependenceAnalysis
...try to add MemoryDependenceAnalysis it gives error I want to report a bug but i don't know if this is a real bug or i am doing something wrong, knowing that i am adding other function passe to my module pass and it works fine. the error i get: adding callgraph pass ... done opt: /net/home/yehia/llvm/llvm-2.4/include/llvm/Target/TargetData.h:114: llvm::TargetData::TargetData(): Assertion `0 && "ERROR: Bad TargetData ctor used. " "Tool did not specify a TargetData to use?"' failed. adding DependenceFlowGraph_FunctionAnalaysis_Pass ... doneopt[0x75627f] /li...
2009 Mar 24
1
[LLVMdev] Problem with MemoryDependenceAnalysis
...ontaining an example code to regenerate the error. with its Makefile the command line i used is: opt -time-passes -analyze -load ${LLVM_PATH}/Release/lib/.libs/libMYMODULEPASS.so -MyModulePass < test.bc i tried the same but from a function pass and it worked. John Criswell wrote: > Amr Yehia wrote: > >> no .. i am calling a function pass from a module pass, adding other >> function passes to my module pass works, but when i try to add >> MemoryDependenceAnalysis it gives error >> >> > I'm going to assume that you're running your...
2009 Mar 24
0
[LLVMdev] Problem with MemoryDependenceAnalysis
Amr Yehia wrote: > no .. i am calling a function pass from a module pass, adding other > function passes to my module pass works, but when i try to add > MemoryDependenceAnalysis it gives error > I'm going to assume that you're running your passes via a specially built tool and not...
2009 Mar 20
2
[LLVMdev] Problem with MemoryDependenceAnalysis
Devang Patel wrote: > On Mar 20, 2009, at 8:13 AM, Amr Yehia wrote: > > >> Dear all, >> >> I am having a problem adding a MemoryDependenceAnalysis pass to a >> Module >> Pass i created, it gives me the following error when i add >> (Info.addRequired<MemoryDependenceAnalysis>();) it in the >> getAnal...
2019 Aug 22
3
[RFC] Adding target-specific overrides for Indirect Call Promotion
...erit;"></font></div><div style="box-sizing: inherit;"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" style="box-sizing: inherit;">Thank you.</font></div></div><div><br></div>Wael Yehia<br>Compiler Development<br>IBM Canada Lab<br><a href="mailto:wyehia@ca.ibm.com">wyehia@ca.ibm.com</a></div></font><BR>
2009 Mar 20
2
[LLVMdev] Problem with MemoryDependenceAnalysis
...I am having a problem adding a MemoryDependenceAnalysis pass to a Module Pass i created, it gives me the following error when i add (Info.addRequired<MemoryDependenceAnalysis>();) it in the getAnalysisUsage(AnalysisUsage &Info) function. adding callgraph pass ... done opt: /net/home/yehia/llvm/llvm-2.4/include/llvm/Target/TargetData.h:114: llvm::TargetData::TargetData(): Assertion `0 && "ERROR: Bad TargetData ctor used. " "Tool did not specify a TargetData to use?"' failed. adding DependenceFlowGraph_FunctionAnalaysis_Pass ... doneopt[0x75627f] /li...
2009 Mar 20
0
[LLVMdev] Problem with MemoryDependenceAnalysis
On Mar 20, 2009, at 8:13 AM, Amr Yehia wrote: > Dear all, > > I am having a problem adding a MemoryDependenceAnalysis pass to a > Module > Pass i created, it gives me the following error when i add > (Info.addRequired<MemoryDependenceAnalysis>();) it in the > getAnalysisUsage(AnalysisUsage &Info) funct...
2009 Mar 23
0
[LLVMdev] Problem with MemoryDependenceAnalysis
On Mar 20, 2009, at 11:19 AM, Amr Yehia wrote: >> I am loading the CallGraph pass before it from my module Aha, so you're actually invoking function pass from a CG pass. See if my suggestion from http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-February/020109.html helps. - Devang >
2017 Jan 18
2
[RFC] IR-level Region Annotations
> On Jan 17, 2017, at 4:36 PM, Hal Finkel via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > On 01/17/2017 05:36 PM, Wael Yehia via llvm-dev wrote: >> Hi. Regarding the token approach, I've read some documentation (review D11861, EH in llvm, and Reid and David's presentation) but couldn't answer the following question. >> Does the intrinsic or the instruction returning a token type object act as a co...
2009 Jul 29
1
[LLVMdev] Moving instructions from functions
Dear all, I want to move a block of instructions from its original function, form a new function, and place these instructions in the new function. these blocks of instructions are not bound by Basic Blocks, i mean i can cut Basic Blocks and move only part of it to the new function. I guess the solution can be either clone the whole function and start deleting instructions from the two
2020 Apr 02
3
RFC: dynamic_cast optimization in LTO
...d whether there's room for improvement (if the approach was correct).<br>Specifically I would appreciate comments from people from the AMD compiler since they are the ones who presented the optimization.<br><br>Thanks.<br></div><div><br></div>Wael Yehia<br>Compiler Development<br>IBM Canada Lab<br></span></font><BR>
2017 Jan 17
2
[RFC] IR-level Region Annotations
Hi. Regarding the token approach, I've read some documentation (review D11861, EH in llvm, and Reid and David's presentation) but couldn't answer the following question.Does the intrinsic or the instruction returning a token type object act as a code motion barrier? In other words, does it prevent other operations from being reordered with it?If the answer is no, then does it mean the
2017 Jun 02
2
setjmp in llvm
Hi,I'm trying to prevent llvm instruction motion around an intrinsic function call. Throughout my experimenting, I was told that setjmp could create fake entry points into a region of code and that might prevent code motion.What I found is something surprising, and probably is a misuse of setjmp but I couldn't find an explanation for it.Consider this:#include <csetjmp> std::jmp_buf
2009 May 29
1
[LLVMdev] difference between alias set tracker and alias analysis evaluator
Hi all, I have a problem with alias aliasing results returned by the alias set tracker and the alias analysis evaluator. so i call opt tool to run my module with the following options "-anders-aa -aa-eval -print-alias-sets -print-all-alias-modref-info" i use 2 classes to print alias analysis, the AliasSetTracket and AliasAnalysisEvaluator. but they give different results. here is a
2018 Nov 01
0
Read CPU Performance Statistics
Hi, I am in need for a help for how to use libvirt in python to read the the guest VMs performance statistics like cache hit and miss rates , I have KVM- Qemu as a virtual machine manager , I am looking for a sample code or the instructions needed to help me read these statistics . Thanks, hana
2009 May 29
0
[LLVMdev] difference between alias set tracker and alias analysis evaluator
Hi all, I have a problem with alias aliasing results returned by the alias set tracker and the alias analysis evaluator. so i call opt tool to run my module with the following options "-anders-aa -aa-eval -print-alias-sets -print-all-alias-modref-info" i use 2 classes to print alias analysis, the AliasSetTracket and AliasAnalysisEvaluator. but they give different results. here is a