search for: mustakimur

Displaying 8 results from an estimated 8 matches for "mustakimur".

2018 Apr 16
0
LLVM Alias Analysis (Load and store from same address is not showed up in same set)
On 4/15/2018 11:44 AM, Mustakimur Khandaker via llvm-dev wrote: > Hi > I have this simple c code for which I would like to use for alias > analysis. > > #include <stdio.h> > #include <stdlib.h> > > static int (*fp) (void); > void ind_call (int (*compr)(void)){ >     fp...
2018 Apr 16
1
LLVM Alias Analysis (Load and store from same address is not showed up in same set)
Okay, I have tried the following: bin/opt -mem2reg -basicaa -cfl-anders-aa -print-alias-sets bin/test/test.bc But, the result is same as last time. Do you mean something like this to try? Can you suggest what else could be an important factor for this issue? Best Regards Mustakimur Rahman Khandaker Graduate Student and Teaching Assistant Department of Computer Science Florida State University ________________________________ From: Friedman, Eli <efriedma at codeaurora.org> Sent: Monday, April 16, 2018 1:51:14 PM To: Mustakimur Khandaker; llvm-dev at lists.llvm.org Subje...
2018 Apr 15
2
LLVM Alias Analysis (Load and store from same address is not showed up in same set)
...ret i32 %call } declare dso_local i32 @printf(i8*, ...) #1 ; Function Attrs: noinline nounwind optnone uwtable define dso_local i32 @main() #0 { entry: %retval = alloca i32, align 4 store i32 0, i32* %retval, align 4 call void @ind_call(i32 ()* @hello) ret i32 0 } Best Regards Mustakimur Rahman Khandaker Graduate Student and Research Assistant Department of Computer Science Florida State University -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180415/f395ab0a/attachment.html>
2019 Jan 29
2
[cfe-dev] Create a BlockAddress array from LLVM Pass
...ay::get, not ConstantDataArray::get. (We should probably fix ConstantDataArray::get() to use enable_if or something like that, so your example fails to compile instead of generating a weird runtime error.) > > -Eli > > From: cfe-dev <cfe-dev-bounces at lists.llvm.org> On Behalf Of Mustakimur Rahman Khandaker (Mustakim) via cfe-dev > Sent: Monday, January 28, 2019 12:12 PM > To: llvm-dev at lists.llvm.org; cfe-dev at lists.llvm.org > Subject: [EXT] [cfe-dev] Create a BlockAddress array from LLVM Pass > > > > Hi > > > Good day. For the following function loc...
2019 Feb 22
1
Create the GlobalVariable which have extern in one header file
...::ExternalLinkage, blockItems, "DATA_TABLE"); gNew->setAlignment(16); gNew->setSection("data_section"); gNew->addAttribute(llvm::Attribute::OptimizeNone); On Feb 22 2019, at 12:02 am, Tim Northover <t.p.northover at gmail.com> wrote: On Thu, 21 Feb 2019 at 18:42, Mustakimur Khandaker via llvm-dev <llvm-dev at lists.llvm.org> wrote: GlobalVariable *gvar_data = new GlobalVariable( M, blockItems->getType(), true, GlobalValue::CommonLinkage, blockItems, "DATA_TABLE"); gvar_data->setAlignment(16); gvar_data->setSection("data_section"); gv...
2019 Feb 22
2
Create the GlobalVariable which have extern in one header file
Hi Good day. I am facing issue with creating a GlobalVariable. I already have an extern for that global in a header file to use it in the following way extern const void* DATA_TABLE[]; And with a LLVM PASS, I am trying to create this array with the same name and with initializer. So, I have following: GlobalVariable *gvar_data = new GlobalVariable( M, blockItems->getType(), true,
2019 Jan 28
2
Create a BlockAddress array from LLVM Pass
Hi Good day. For the following function local static constant array: static const __attribute__((used)) __attribute__((section("data"))) void *codetable[] = { &&RETURN, &&INCREMENT, &&DECREMENT, &&DOUBLE, &&SWAPWORD}; I have the following in the LLVM IR. @sampleCode.codetable = internal global [5 x i8*] [i8* blockaddress(@sampleCode, %19), i8*
2018 Apr 16
0
LLVM Alias Analysis (Load and store from same address is not showed up in same set)
On 4/16/2018 11:13 AM, Mustakimur Khandaker wrote: > > Okay, I have tried the following: > >  bin/opt -mem2reg -basicaa -cfl-anders-aa -print-alias-sets > bin/test/test.bc > > But, the result is same as last time. Do you mean something like this > to try? Can you suggest what else could be an important fac...