Displaying 20 results from an estimated 28 matches for "chowdhary".
2018 Aug 21
4
different output with fast-math flag
...ast and fmul fast.
I feel that its because d/max is really small number and fast-math does not
care about small numbers and consider them to zero but this is so
incorrect.
On Tue, Aug 21, 2018 at 12:45 PM Stephen Canon <scanon at apple.com> wrote:
> On Aug 21, 2018, at 11:17 AM, sangeeta chowdhary via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>
> Why the output is different for this below program when compiled using
> clang with fast-math optimization
>
> #include<stdio.h>
>
> int main() {
> double d = 1.0;
> double max = 1.79769e+308;...
2018 Jan 13
0
Integrating llvm pass with pass manager
Do you pull clang under llvm/tools and compile it as well? In theory, if
`opt` recognize the option, so does `clang -mllvm`.
2018-01-12 8:47 GMT+08:00 sangeeta chowdhary <sangitachowdhary at gmail.com>:
> Hello,
>
> I have tried giving this option like this
>
> clang -c -emit-llvm -mllvm -rdetector hello.c -c -o hello.bc
> but I am getting error " Unknown command line argument '-rdetector’.”
>
> Although same option work with...
2018 Aug 11
2
Need help in understanding llvm optimization
...er than be accurately represented is 2^53. As the number gets
> larger floating sacrifices precision in the lower digits. Because of this
> 1e16 and 1e16+1 end up having the same representation. So the result of
> subtracting them is 0.0.
>
> On Sat, Aug 11, 2018 at 12:30 PM SANGEETA CHOWDHARY via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hi,
>>
>> I have below code in C -
>>
>> int main() {
>>
>> double x,y;
>>
>> x = 1e16;
>>
>> y = (x + 1) - x;
>>
>> printf("y:%e\n",...
2018 Jan 08
5
Integrating llvm pass with pass manager
Hello,
I have followed steps given in - https://stackoverflow.com/questions/29910051/integrating-llvm-passes/48142693#48142693 <https://stackoverflow.com/questions/29910051/integrating-llvm-passes/48142693#48142693>, to integrate my pass with pass manager and run it with clang. I am able to run my pass with opt - opt -mypass but when I try to run it with clang, I always get an error -
2020 Jun 24
2
Function name demangling in llvm ir
...fert via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> I have not tried it but maybe
>
> `std::string llvm::demangle(const std::string &MangledName)`
>
> in `llvm/Demangle/Demangle.h`
>
> is already what you want.
>
>
>
> On 6/24/20 2:10 PM, sangeeta chowdhary via llvm-dev wrote:
>
> Hello,
>
> I am doing some program analysis with C++ programs. I need to check if some
> particular function is called in the program, for that I need the name of
> the function being called in the call instruction. Since C++ mangles the
> name of the fu...
2018 Aug 11
4
Need help in understanding llvm optimization
Hi,
I have below code in C -
int main() {
double x,y;
x = 1e16;
y = (x + 1) - x;
printf("y:%e\n", y);
return 0;
}
llvm bitcode looks like this for this function -
; Function Attrs: nounwind uwtable
define dso_local i32 @main() local_unnamed_addr #0 {
entry:
%call = tail call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x
i8], [4 x i8]* @.str, i64 0, i64
2020 Feb 29
2
Preserving the type of structure
Hello,
LLVM IR flattens out the structure with one integer element to i32. Is
there any way to disable this? I want to preserve the type information of
the structure. I tried compiling the program with O0, it maintains the type
for most of the instructions but for all.
Regards,
Sangeeta
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2018 Jan 15
0
Integrating llvm pass with pass manager
On 14 Jan 2018, at 00:14, sangeeta chowdhary <sangitachowdhary at gmail.com> wrote:
>
> I have taken SimplePass and added in Transform directory, “libLLVMSimplePass.a” is built but I can not see this pass in opt —help. I don’t even see the name of pass while registering it in the example.
The SimplePass example is intended to be...
2020 Jun 24
2
Function name demangling in llvm ir
Hello,
I am doing some program analysis with C++ programs. I need to check if some
particular function is called in the program, for that I need the name of
the function being called in the call instruction. Since C++ mangles the
name of the function, I need a way to demangle the function name in llvm
IR. Is there any way to achieve that in llvm pass?
Regards,
Sangeeta
-------------- next part
2018 Jan 14
2
Integrating llvm pass with pass manager
I have taken SimplePass and added in Transform directory, “libLLVMSimplePass.a” is built but I can not see this pass in opt —help. I don’t even see the name of pass while registering it in the example.
> On Jan 13, 2018, at 7:35 AM, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote:
>
> On 13 Jan 2018, at 03:45, Craig Topper via llvm-dev <llvm-dev at lists.llvm.org>
2018 Jan 13
2
Integrating llvm pass with pass manager
...m back at a computer.
On Fri, Jan 12, 2018 at 7:00 PM 陳韋任 via llvm-dev <llvm-dev at lists.llvm.org>
wrote:
> Do you pull clang under llvm/tools and compile it as well? In theory, if
> `opt` recognize the option, so does `clang -mllvm`.
>
>
> 2018-01-12 8:47 GMT+08:00 sangeeta chowdhary <sangitachowdhary at gmail.com>:
>
>> Hello,
>>
>> I have tried giving this option like this
>>
>> clang -c -emit-llvm -mllvm -rdetector hello.c -c -o hello.bc
>> but I am getting error " Unknown command line argument '-rdetector’.”
>>
>...
2020 Jun 15
2
Need help in creating clone functions
Hello,
I am working on creating a llvm pass which clones a certain function with a
different name using CloneFunctionInto. I create a call instruction to call
a new cloned function from the old function. In llvm IR and in .s file
everything looks as expected, but when I call this program with gdb and set
a breakpoint on this new function, gdb shows the name of the original
function. I know it has
2018 Aug 30
2
Instruction does not dominate all uses!
Hello All,
I am instrumenting IR to pass addres of the function to runtime but I am
getting error - Instruction does not dominate all uses. I used M.dump() to
get below dump, not able to figure out what I am doing wrong. Any help
would be much appreciated.
define dso_local double @mysqrt(double %val1) local_unnamed_addr #0 {
entry:
%0 = bitcast double (double)* @mysqrt to i8*
%1 = call
2014 May 13
2
How frequently should Opus Control Parameters be modified?
I am using Opus in a mobile VoIP client. I don?t intend to deliver
audio beyond wide band but want to ensure the best possible quality
even at low bandwidths and high packet loss rates. I am trying to
feed RTCP information to opus, that is set its bit-rate and expected
packet loss periodically.
1) Any suggestions on how often I should change the bit-rate and
expected packet loss, (maybe
2005 Jan 27
3
negative tokens
I have this:
class htb 1:29 parent 1:1 prio 0 rate 3000bit ceil 100000bit burst
1599b cburst 1611b
Sent 33233 bytes 772 pkts (dropped 0, overlimits 0)
lended: 415 borrowed: 357 giants: 0
tokens: -3756376 ctokens: 128779
or this:
class htb 1:21 parent 1:1 prio 0 rate 3000bit ceil 100000bit burst
1599b cburst 1611b
Sent 57554 bytes 618 pkts (dropped 0, overlimits 0)
lended: 193 borrowed: 425
2018 Jan 11
0
Integrating llvm pass with pass manager
`-mypass` should be only recognize by the backend part (i.e. llvm). You
should add `-mllvm` to tell clang the following argument have to be passed
to the backend part.
2018-01-08 8:02 GMT+08:00 sangeeta chowdhary via llvm-dev <
llvm-dev at lists.llvm.org>:
> Hello,
>
> I have followed steps given in - https://stackoverflow.com/
> questions/29910051/integrating-llvm-passes/48142693#48142693, to
> integrate my pass with pass manager and run it with clang. I am able to
> run my pass wi...
2018 May 23
1
How to create a call to a function which returns a struct
Hello,
I am trying to create a call to a function which returns a struct in llvm pass. I also want to read struct fields returned from this function call. Can somebody help me with this?
Regards,
Sangeeta
2014 May 13
0
How frequently should Opus Control Parameters be modified?
On 13/05/14 01:36 AM, Amit Chowdhary wrote:
> 1) Any suggestions on how often I should change the bit-rate and
> expected packet loss, (maybe even lower the audio bandwidth if the
> bit-rate available is below the sweet-spot for WB)?
>
> 2) How is the codec's performance affected every time a control parameter
&...
2018 Aug 21
2
different output with fast-math flag
Why the output is different for this below program when compiled using
clang with fast-math optimization
#include<stdio.h>
int main() {
double d = 1.0;
double max = 1.79769e+308;
d /= max;
printf("d:%e:\n", d);
d *= max;
printf("d:%e:\n", d);
return 0;
}
prints 0 with fast math but 1 without fast math.
-------------- next part --------------
An
2004 Dec 23
1
does the inbound traffic affect the outbound on 2 different interfaces
...r add dev eth1 parent 2: prio 2 protocol ip u32 match ip src
192.168.8.4 flowid 2:3
----------------------------------------------------------------------------------------------------------------------
expecting some help from any one
--
sujith chandra chowdhary CHENNUPATI